[asterisk-bugs] [JIRA] (ASTERISK-24808) res_config_odbc: Improper escaping of backslashes occurs with MySQL
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Mar 10 16:37:35 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan closed ASTERISK-24808.
----------------------------------
> 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
> 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