[asterisk-bugs] [JIRA] (ASTERISK-24808) res_config_odbc: Improper escaping of backslashes occurs with MySQL

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:26:08 CDT 2016


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

Asterisk Team updated ASTERISK-24808:
-------------------------------------

    Target Release Version/s: 14.0.0

> res_config_odbc: Improper escaping of backslashes occurs with MySQL
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-24808
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24808
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_odbc
>    Affects Versions: 13.2.0
>         Environment: Debian 7.5 64bit, Asterisk 13.2.0, MySQL 5.5.40 configure with unixODBC and linmyodbc
>            Reporter: Javier Acosta
>      Target Release: 11.17.0, 13.3.0, 14.0.0
>
>         Attachments: extract_verbose-debug.txt, res_config_odbc.diff
>
>
> In "sip reload" we found the next error in logs.
> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '\' ORDER BY name' at line 1 (215)
> We found the solution changing in res_config_odbc this lines
> *\[Inline patch removed\]*
> With this changes in res/res_config_odbc.c all it's working OK now



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



More information about the asterisk-bugs mailing list