[OpenSIPS-Devel] [OpenSIPS/opensips] 100bfb: db_mysql: properly NULL the result pointer if a qu...
Liviu Chircu
liviu at opensips.org
Wed Apr 1 13:15:17 CEST 2015
Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 100bfb9c4a3db99f8721c4935d6332016e47bca9
https://github.com/OpenSIPS/opensips/commit/100bfb9c4a3db99f8721c4935d6332016e47bca9
Author: Liviu Chircu <liviu at opensips.org>
Date: 2015-04-01 (Wed, 01 Apr 2015)
Changed paths:
M db/db_query.c
M modules/db_mysql/dbase.c
Log Message:
-----------
db_mysql: properly NULL the result pointer if a query fails
This prevents issues with non-initialized pointers (issue #406)
(cherry picked from commit a268b1d874c79a88309c53ea28ab8e77cfde3c61)
More information about the Devel
mailing list