[asterisk-bugs] [JIRA] (ASTERISK-25263) [patch]cdr_adaptive_odbc: CDR insert failure due to reversed if logic

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jul 20 18:11:32 CDT 2015


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

Rusty Newton updated ASTERISK-25263:
------------------------------------

    Summary: [patch]cdr_adaptive_odbc: CDR insert failure due to reversed if logic  (was: cdr_adaptive_odbc: CDR insert failure due to reversed if logic)

> [patch]cdr_adaptive_odbc: CDR insert failure due to reversed if logic
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25263
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25263
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/cdr_adaptive_odbc
>    Affects Versions: SVN
>         Environment: Slackware Linux
>            Reporter: Elazar Broad
>            Severity: Critical
>         Attachments: 25263_1.diff
>
>
> The logic in the if statement which determines whether to use quoted statements in cdr_adaptive_odbc.c is reversed, resulting in a reference to tableptr->quoted_identifiers which is null, which terminates the sql buffer resulting in a truncated SQL statement[INSERT INTO table (]. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list