[OpenSIPS-Devel] [OpenSIPS/opensips] 2af467: struct hist: Also record the history for "NULL" ob...

Liviu Chircu noreply at github.com
Wed Feb 8 10:30:27 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2af46768f918de27d9facde6662875fe7a078fc4
      https://github.com/OpenSIPS/opensips/commit/2af46768f918de27d9facde6662875fe7a078fc4
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M lib/dbg/struct_hist.c

  Log Message:
  -----------
  struct hist: Also record the history for "NULL" objects

While the history of a "NULL" object isn't much of a rich/useful piece
of information, allowing it may help prevent errors in some cases, due
to "sh_push()" returning an unexpected NULL value => crash.

(cherry picked from commit cad9bd0b6c210f303f42d6687643b3c0e48aa87c)





More information about the Devel mailing list