[OpenSIPS-Devel] [OpenSIPS/opensips] a0517e: rest_client: Fix memory allocation race condition
Liviu Chircu
liviu at opensips.org
Tue Dec 6 05:28:44 EST 2016
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: a0517e20038e8d35b196c9a5dc6808bebdca5b03
https://github.com/OpenSIPS/opensips/commit/a0517e20038e8d35b196c9a5dc6808bebdca5b03
Author: Liviu Chircu <liviu at opensips.org>
Date: 2016-12-06 (Tue, 06 Dec 2016)
Changed paths:
M modules/rest_client/rest_client.c
Log Message:
-----------
rest_client: Fix memory allocation race condition
libcurl actually creates a thread to do each blocking request, so the
memory allocation functions we provide it with must be thread safe.
Thanks to Agalya Ramachandran for helping troubleshoot this bug
(cherry picked from commit 900f6c996c697bf913efb7843d915411b5da930c)
More information about the Devel
mailing list