Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: b9641f69de67b108b2f5d42925e3a4463e2aac6b
https://github.com/OpenSIPS/opensips/commit/b9641f69de67b108b2f5d42925e3a4463e2aac6b
Author: Bogdan-Andrei Iancu <[email protected]>
Date: 2018-02-27 (Tue, 27 Feb 2018)
Changed paths:
M route.c
Log Message:
-----------
Fix dangerous \0 adding outside the str buffer.
It is bogus to write a 0 outside the str buffer as (1) the buffer may be in
data zone (so read-only) or (2) it may be in shm memory and an overflow may
corrupt the memory manager
Reported by Ben Newlin <[email protected]>
(cherry picked from commit 93cc348717f91ad3c31775b99e0d1863ffce84ae)
(cherry picked from commit ab8488b7090d32c47b49d916efe271e599ea69b4)
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel