]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_sqlite3: Fix crashes when reading peers from sqlite3 tables 85/2285/1
authorChristof Lauber <christof.lauber@annax.ch>
Tue, 16 Feb 2016 14:14:15 +0000 (15:14 +0100)
committerMark Michelson <mmichelson@digium.com>
Tue, 23 Feb 2016 22:01:52 +0000 (16:01 -0600)
commitea9deff996744b41ae383876b6c4e64936d85a9c
tree18906b28ef322ae22a34bc1f1e2e74ae0e4c3f88
parentaa637f0a911eb9184de1922b1d230855822ed839
res_config_sqlite3: Fix crashes when reading peers from sqlite3 tables

Introduced realloaction of ast_str buf in sqlite3_escape functions in case
the returned buffer from threadstorage was actually too small.

Change-Id: I3c5eb43aaade93ee457943daddc651781954c445
res/res_config_sqlite3.c