Branch: refs/heads/1.11
Home: https://github.com/OpenSIPS/opensips
Commit: 4902336df2a507d31f23a57059cf9416817cf3ad
https://github.com/OpenSIPS/opensips/commit/4902336df2a507d31f23a57059cf9416817cf3ad
Author: Liviu Chircu <[email protected]>
Date: 2016-01-08 (Fri, 08 Jan 2016)
Changed paths:
M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
Log Message:
-----------
cachedb_mongodb: Fix crash when losing DB connection
Tested with mongo-c-driver v0.6. It turns out that the driver's
mongo_cmd_get_last_error() does not always return an iterable bson
structure. This patch adds a safety check, so that iteration is skipped.
Reported by Sasmita Panda
Closes issue #747
(cherry picked from commit 2e5160e5e1d895a5694ba4297058e1ca587e787a)
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel