[Asterisk-code-review] res config sqlite3: Fix crashes when reading peers from sqli... (asterisk[master])

Mark Michelson asteriskteam at digium.com
Wed Feb 17 14:38:54 CST 2016


Mark Michelson has posted comments on this change.

Change subject: res_config_sqlite3: Fix crashes when reading peers from sqlite3 tables
......................................................................


Patch Set 1:

Specifically:

2016-02-17 01:59:39 gcc -o /dev/null -c res_config_sqlite3.i -pthread -I/srv/jenkins/workspace/check-asterisk/asterisk/include    -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations   -g3 -Werror -Wunused -Wdeclaration-after-statement  -Wundef -Wmissing-format-attribute -Wformat=2  -O0  -march=native -fPIC -DAST_MODULE=\"res_config_sqlite3\" -DAST_MODULE_SELF_SYM=__internal_res_config_sqlite3_self  -pthread  -O3
2016-02-17 01:59:39 cc1: warnings being treated as errors
2016-02-17 01:59:39 res_config_sqlite3.c: In function 'sqlite3_escape_string_helper':
2016-02-17 01:59:39 res_config_sqlite3.c:134: error: ISO C90 forbids mixed declarations and code
2016-02-17 01:59:39 res_config_sqlite3.c: In function 'sqlite3_escape_column_op':
2016-02-17 01:59:39 res_config_sqlite3.c:171: error: ISO C90 forbids mixed declarations and code
2016-02-17 01:59:39 make[1]: *** [res_config_sqlite3.o] Error 1

-- 
To view, visit https://gerrit.asterisk.org/2263
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I3c5eb43aaade93ee457943daddc651781954c445
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Christof Lauber <christof.lauber at annax.ch>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list