| Summary: | ASTERISK-23250: CDR(start) function is broken due to sizeof dereference | ||
| Reporter: | snuffy (snuffy) | Labels: | |
| Date Opened: | 2014-02-03 19:50:23.000-0600 | Date Closed: | 2014-02-04 11:05:03.000-0600 |
| Priority: | Minor | Regression? | Yes |
| Status: | Closed/Complete | Components: | Functions/func_cdr |
| Versions: | 12.0.0 | Frequency of Occurrence | Constant |
| Related Issues: | |||
| Environment: | Attachments: | ( 0) func_cdr-fix.diff | |
| Description: | When using $\{CDR(start)\} it did not display any output.
Using $\{CDR(start,u)\} displayed epoch as expected. Reviewed code noticed that sizeof(*tempbuf) rather than sizeof(tempbuf) | ||
| Comments: | |||