[OpenSIPS-Devel] [OpenSIPS/opensips] 6581e0: is_ws(): Play well with UndefinedBehaviorSanitizer...
Liviu Chircu
noreply at github.com
Wed Oct 13 21:28:59 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 6581e0efeace51234932d97621aaa1636ad56cc3
https://github.com/OpenSIPS/opensips/commit/6581e0efeace51234932d97621aaa1636ad56cc3
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-10-14 (Thu, 14 Oct 2021)
Changed paths:
M trim.h
Log Message:
-----------
is_ws(): Play well with UndefinedBehaviorSanitizer (UBSan)
Avoid bitwise shifting by 31 of a signed integer type. Practically,
this patch does not fix any bug on the widely used arches (the resulting
assembly is 100% the same on these), but at least it makes the code more
C-standards compliant.
OSS-Fuzz#39920
More information about the Devel
mailing list