[OpenSIPS-Devel] [OpenSIPS/opensips] 543c7a: b2b_entities: do not search dlg by NULL from_tag

Răzvan Crainea noreply at github.com
Thu Mar 18 11:45:26 EST 2021


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 543c7a8ec488a1fa9c6cc6d950d0b686245efc2a
      https://github.com/OpenSIPS/opensips/commit/543c7a8ec488a1fa9c6cc6d950d0b686245efc2a
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: do not search dlg by NULL from_tag

b2b_search_htable_dlg() always requires a non-NULL from_tag, therefore
when searching the dialog with an empty one (for example in case of a
b2b client timeout), we shall check agains a 0-length totag, rather than
NULL, otherwise it would result in a crash

(cherry picked from commit 68806c4b079c7601941785decc9824cfe78c3d27)





More information about the Devel mailing list