[OpenSIPS-Devel] [OpenSIPS/opensips] d13910: dialog: restore buffer only if STR value

Răzvan Crainea noreply at github.com
Wed Apr 2 12:30:59 UTC 2025


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d139101e2df4180371d63810a5d89ada15c023f9
      https://github.com/OpenSIPS/opensips/commit/d139101e2df4180371d63810a5d89ada15c023f9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M modules/dialog/dlg_vals.c

  Log Message:
  -----------
  dialog: restore buffer only if STR value

If an integer is returned, the buffer is no longer available, thus if it
will be used as a string next time, it will crash.

Completes #3135

(cherry picked from commit 2a28d960e0e7779d4a34c78d3526c41608a25cf3)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list