[OpenSIPS-Devel] [OpenSIPS/opensips] 217a68: cachedb_mongodb: Fix possible off-by-one error

Liviu Chircu noreply at github.com
Thu Feb 27 17:39:11 EST 2020


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 217a6892d3409e93b641eccf3b178edef88b5680
      https://github.com/OpenSIPS/opensips/commit/217a6892d3409e93b641eccf3b178edef88b5680
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Fix possible off-by-one error

(cherry picked from commit b0d65e9af1146c2764b43f4038922f0c7f9ec27b)


  Commit: ef08be02857b48c6d3c2c6e070d2159604d32303
      https://github.com/OpenSIPS/opensips/commit/ef08be02857b48c6d3c2c6e070d2159604d32303
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Fix memory leak in cache_raw_query()

Thanks to @ycxwoo for spotting this issue!

Fixes #1985

(cherry picked from commit e818ac259362fd5627d9234e8afb1e7ba3462783)


Compare: https://github.com/OpenSIPS/opensips/compare/b4fac39b57d4...ef08be02857b



More information about the Devel mailing list