[OpenSIPS-Devel] [OpenSIPS/opensips] f01fe3: Fix restoring/freeing the path_vec in failure rout...
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Aug 18 15:26:42 CEST 2015
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: f01fe377c48a79bbba9032f10c9a94605b7c3913
https://github.com/OpenSIPS/opensips/commit/f01fe377c48a79bbba9032f10c9a94605b7c3913
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2015-08-18 (Tue, 18 Aug 2015)
Changed paths:
M modules/tm/t_msgbuilder.h
Log Message:
-----------
Fix restoring/freeing the path_vec in failure route.
The path_vec (array holding the PATH string) was not properly pushed into the faked requests before calling the failure route. This was generating a mixture of shm/pkg memory when the faked request had to be freed.
This crash was trigger only if PATH support was used and requests were looked up with PATH header.
Reported by @AVFedorov and @petekelly.
Closes #484
Many thanks to @AVFedorov for his details information and to @petekelly for support in investigating and testing.
(cherry picked from commit cc033520ea5ab59fafd6ca7d52cc88fdad8574ef)
More information about the Devel
mailing list