[OpenSIPS-Devel] [OpenSIPS/opensips] d75644: acc: Fix buffer overflow
Liviu Chircu
liviu at opensips.org
Thu Nov 22 09:50:36 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: d75644994c3fbf2d503aaa2912ca8b6b11fcf715
https://github.com/OpenSIPS/opensips/commit/d75644994c3fbf2d503aaa2912ca8b6b11fcf715
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-11-22 (Thu, 22 Nov 2018)
Changed paths:
M modules/acc/acc.c
Log Message:
-----------
acc: Fix buffer overflow
The set_dlg_value() code would initialize the buffer to STRING_INIT_SIZE
(128) bytes but then immediately proceed to using it without any more
length checks, thus corrupting the memory any time it is run with larger
than 128-byte acc_extra values.
**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