[OpenSIPS-Devel] [OpenSIPS/opensips] 80ac9e: db_mysql: properly NULL the result pointer if a qu...
Liviu Chircu
liviu at opensips.org
Wed Apr 1 13:15:36 CEST 2015
Branch: refs/heads/1.10
Home: https://github.com/OpenSIPS/opensips
Commit: 80ac9e8014c33651083f8f1592b8419c21b4fca3
https://github.com/OpenSIPS/opensips/commit/80ac9e8014c33651083f8f1592b8419c21b4fca3
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