[OpenSIPS-Devel] [OpenSIPS/opensips] 38b54d: ut.h: fix off-by-one check in str_casematch
Răzvan Crainea
noreply at github.com
Wed Oct 6 14:13:27 EST 2021
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 38b54db9c56f8d3d5850b7f57ff01a414ea8d8d6
https://github.com/OpenSIPS/opensips/commit/38b54db9c56f8d3d5850b7f57ff01a414ea8d8d6
Author: Razvan Crainea <razvan at opensips.org>
Date: 2021-10-06 (Wed, 06 Oct 2021)
Changed paths:
M ut.h
Log Message:
-----------
ut.h: fix off-by-one check in str_casematch
when the string length is 0, the first char of the string would have
been checked, resulting in a possible memory corruption
(cherry picked from commit a96190e97e9bd073740c1959678884bf6595cd04)
More information about the Devel
mailing list