[OpenSIPS-Devel] [OpenSIPS/opensips] 54ca97: registrar: fix contacts re-alloc issue
Razvan Crainea
razvan at opensips.org
Thu Nov 8 07:00:24 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 54ca97b50ad0f52d43a5b6819ce7f42ea019ecc6
https://github.com/OpenSIPS/opensips/commit/54ca97b50ad0f52d43a5b6819ce7f42ea019ecc6
Author: Razvan Crainea <razvan at opensips.org>
Date: 2018-11-08 (Thu, 08 Nov 2018)
Changed paths:
M modules/registrar/lookup.c
Log Message:
-----------
registrar: fix contacts re-alloc issue
When more than 20 contacts were serialized in a buffer, the realloc was
not allocating enough space for the buffer to hold all entries. This
lead to a memory corruption and further to a crash.
**NOTE:** This service has 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