[asterisk-bugs] [JIRA] (ASTERISK-23250) CDR(start) function is broken due to sizeof dereference

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Tue Feb 4 10:35:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-23250:
---------------------------------------

    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)

  was:
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)

    
> CDR(start) function is broken due to sizeof dereference
> -------------------------------------------------------
>
>                 Key: ASTERISK-23250
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23250
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_cdr
>    Affects Versions: 12.0.0
>            Reporter: snuffy
>            Severity: Minor
>         Attachments: func_cdr-fix.diff
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list