[OpenSIPS/opensips] b0d65e: cachedb_mongodb: Fix possible off-by-one error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] b0d65e: cachedb_mongodb: Fix possible off-by-one error

Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b0d65e9af1146c2764b43f4038922f0c7f9ec27b
      https://github.com/OpenSIPS/opensips/commit/b0d65e9af1146c2764b43f4038922f0c7f9ec27b
  Author: Liviu Chircu <[hidden email]>
  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


  Commit: e818ac259362fd5627d9234e8afb1e7ba3462783
      https://github.com/OpenSIPS/opensips/commit/e818ac259362fd5627d9234e8afb1e7ba3462783
  Author: Liviu Chircu <[hidden email]>
  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


Compare: https://github.com/OpenSIPS/opensips/compare/a87938f72982...e818ac259362

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel