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

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


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3ef7f3a01b2e8b8d52e5e3071a3e4dae2b3249b1
      https://github.com/OpenSIPS/opensips/commit/3ef7f3a01b2e8b8d52e5e3071a3e4dae2b3249b1
  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