Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 0f748f46cf4b164890d024e8f9938b076137ce84 https://github.com/OpenSIPS/opensips/commit/0f748f46cf4b164890d024e8f9938b076137ce84 Author: Liviu Chircu <li...@opensips.org> Date: 2021-07-05 (Mon, 05 Jul 2021)
Changed paths: M modules/cachedb_mongodb/cachedb_mongodb_dbase.c Log Message: ----------- cachedb_mongodb: Fix possible raw query crashes This patch fixes a series of bugs: * raw queries with no result AVP holder, causing a crash, e.g.: cache_raw_query("mongodb", ' "delete": "test", "deletes": [ {"q": {}, "limit": 0} ]}'); * raw queries with bad syntax, causing a crash * pkg memory leak during the "out of pkg memory" condition Credits to Bogdan-Andrei Iancu for the finds! _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel