[OpenSIPS-Devel] [OpenSIPS/opensips] bde48d: sql_cacher: Fix a series of memcmp() bugs

Liviu Chircu noreply at github.com
Fri Sep 20 07:38:37 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bde48dff4b6fb59a5832d6163b0d53defc748b7f
      https://github.com/OpenSIPS/opensips/commit/bde48dff4b6fb59a5832d6163b0d53defc748b7f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-20 (Fri, 20 Sep 2019)

  Changed paths:
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: Fix a series of memcmp() bugs

This patch fixes a series of string comparison bugs, which would have
lead to either false positives or invalid memory access.

Credits to Răzvan Crainea for the report

(cherry picked from commit abf3e32f944976e5f16e712cc0d10e01e73816ff)





More information about the Devel mailing list