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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 68806c4b079c7601941785decc9824cfe78c3d27
      https://github.com/OpenSIPS/opensips/commit/68806c4b079c7601941785decc9824cfe78c3d27
  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





More information about the Devel mailing list