[OpenSIPS-Devel] [OpenSIPS/opensips] 2bb11c: usrloc: Fix possible crash during contact pinging

Liviu Chircu liviu at opensips.org
Wed May 9 06:14:01 EDT 2018

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2bb11c599095fbef90706bad9e314feba80d107f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M modules/usrloc/dlist.c

  Log Message:
  usrloc: Fix possible crash during contact pinging

This patch fixes a bug introduced in commit 02e6a641292, where the
output buffer does not contain a leading "0000" marker despite the
"ul.get_all_contacts()" function returning a 0 ("all contacts have been
dumped, the buffer is properly formatted").

Reported by @thesipguy

Credits to Răzvan Crainea for spotting the bug

Fixes #1352

      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the Devel mailing list