[OpenSIPS-Devel] [OpenSIPS/opensips] b25c8a: SIP forking logic: Add extra NULL checks

Liviu Chircu liviu at opensips.org
Wed Feb 24 14:59:05 CET 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b25c8aa2b9a4cc1e11ba6bd7f30708a3f3f74d4c
      https://github.com/OpenSIPS/opensips/commit/b25c8aa2b9a4cc1e11ba6bd7f30708a3f3f74d4c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-02-24 (Wed, 24 Feb 2016)

  Changed paths:
    M dset.c

  Log Message:
  -----------
  SIP forking logic: Add extra NULL checks

This prevents a crash when no branches are pushed yet, but a branch
management function is called (e.g. t_replicate() or a write to
$(branch(uri)[0]) is done)

Issue reported by Trevor Francis

(cherry picked from commit 5e3f06800eb7a4d9367c1dce87f43ab8420bad5d)




More information about the Devel mailing list