[OpenSIPS-Devel] [OpenSIPS/opensips] 31fba7: usrloc: Fix possible crash during contact pinging
Liviu Chircu
liviu at opensips.org
Wed May 9 06:22:47 EDT 2018
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 31fba7d0f82eecfd0fadb0f99e02e903f5888e65
https://github.com/OpenSIPS/opensips/commit/31fba7d0f82eecfd0fadb0f99e02e903f5888e65
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
(cherry picked from commit 2bb11c599095fbef90706bad9e314feba80d107f)
**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