[OpenSIPS-Devel] [OpenSIPS/opensips] 64faa1: cachedb_mongodb: Fix possible off-by-one error

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


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 64faa1675cbbd941b13fd785334d112db49189a2
      https://github.com/OpenSIPS/opensips/commit/64faa1675cbbd941b13fd785334d112db49189a2
  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: 87d5f9537a632a9ce2491679e6121a0f26e11de5
      https://github.com/OpenSIPS/opensips/commit/87d5f9537a632a9ce2491679e6121a0f26e11de5
  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/3211f4048558...87d5f9537a63



More information about the Devel mailing list