]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_config_sqlite3: Fix crashes when reading peers from sqlite3 tables 84/2284/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:42 +0000 (16:01 -0600)
commit8ba5eb42f534d1ce6a32d9acc74be68b7c50365e
treefabcd103179c17be9f091bc5c8ee6a9697820b14
parent3d4e5400faff105495caaf18d3f8421bbbdf2096
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