Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: ab8488b7090d32c47b49d916efe271e599ea69b4
https://github.com/OpenSIPS/opensips/commit/ab8488b7090d32c47b49d916efe271e599ea69b4
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)
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel