{"push_id":2882654217,"size":5,"distinct_size":5,"ref":"refs/heads/2.4","head":"9ad56bc5391efdcc6e3229b3cfc3ef99cb875b50","before":"113973a7b70c9a89fb0f0e730fcb2eef0459c706","commits":[{"sha":"7b8205e3f7ec1dc002a89d5b886f1a49e7543436","author":{"name":"Liviu Chircu","email":"e1b4b92edef483791b6339ac03e7cb6e6fdb865d@opensips.org"},"message":"sql_cacher: Fix several memleaks\n\ninsert_in_cachedb():\n    * fix pkg leak on failed CacheDB set\n    * fix pkg leak when running oom\n\nload_key():\n    * [!] fix pkg leak on successful case (return 0)\n    * fix two pkg leaks on failed CacheDB operation\n    * fix pkg leak on bad table name\n\nmi_reload():\n    * fix pkg leak on failed CacheDB add\n\n(cherry picked from commit 449e0371e7890ab4fb355586fec2e13c3f8c3db3)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/7b8205e3f7ec1dc002a89d5b886f1a49e7543436"},{"sha":"f74a57d32e524644cdf3bb84aa6a933172e6006a","author":{"name":"Liviu Chircu","email":"e1b4b92edef483791b6339ac03e7cb6e6fdb865d@opensips.org"},"message":"sql_cacher: Improve on_demand_load()\n\n    * while loop: rewrite so we reduce indentation by 1 level\n    * remove redundant code -- \"if (!it) {\" condition\n        (this also drops code indentation by 1 level!  yay!)\n    * fix pkg mem leak on NULL column or bad res type\n\n(cherry picked from commit 827cee77b566f5d304b3bfeb9bd284cb770b8914)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/f74a57d32e524644cdf3bb84aa6a933172e6006a"},{"sha":"631b05be3c3870aee3c1d49dc713285f0505524e","author":{"name":"Liviu Chircu","email":"e1b4b92edef483791b6339ac03e7cb6e6fdb865d@opensips.org"},"message":"sql_cacher: Fix possible invalid memory access\n\nThis patch ensures that we properly duplicate (and later free) any\nstrings contained in SQL DB results before freeing these results and\nreturning the strings to the calling layers.\n\nWe also add the is_str_column() macro, which improves code readability.\n\n(cherry picked from commit a223c820247398bc54f38aea5f6a9461d8500980)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/631b05be3c3870aee3c1d49dc713285f0505524e"},{"sha":"2c79c8b85afd37ab4eddd48ef86f5a664f181709","author":{"name":"Liviu Chircu","email":"e1b4b92edef483791b6339ac03e7cb6e6fdb865d@opensips.org"},"message":"sql_cacher: Minor optimization\n\nOptimize the number of buffer realloc operations when fetching cached\nvalues.\n\n(cherry picked from commit 5516398fc63567ec13cb443c5009ad13473ac096)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/2c79c8b85afd37ab4eddd48ef86f5a664f181709"},{"sha":"9ad56bc5391efdcc6e3229b3cfc3ef99cb875b50","author":{"name":"Liviu Chircu","email":"e1b4b92edef483791b6339ac03e7cb6e6fdb865d@opensips.org"},"message":"core: Fix poor oom handling\n\nWhen nearing oom, any failed branch buffer allocations could lead to a\ncrash due to a lingering freed pointer.\n\nThanks to Răzvan for helping catch this one!\n\n(cherry picked from commit c2f8b9807837bd8dd143a33cb555b050fb7a8d72)","distinct":true,"url":"https://api.github.com/repos/OpenSIPS/opensips/commits/9ad56bc5391efdcc6e3229b3cfc3ef99cb875b50"}]}
{"actor":{"display_login":"liviuchircu"}}