[OpenSIPS-Devel] [OpenSIPS/opensips] 7cc624: parse_uri: Fix some UB corner-cases (reported by O...
Liviu Chircu
noreply at github.com
Thu Sep 15 14:31:00 UTC 2022
Branch: refs/heads/3.3
Home: https://github.com/OpenSIPS/opensips
Commit: 7cc624275e6a98322a235062327f2469725dfbb2
https://github.com/OpenSIPS/opensips/commit/7cc624275e6a98322a235062327f2469725dfbb2
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M parser/parse_uri.c
M parser/test/test_parser.c
Log Message:
-----------
parse_uri: Fix some UB corner-cases (reported by OSS-Fuzz)
* possible bitwise left shift with a negative value (UB)
* possible integer overflow, due to multiplication (UB)
Fixes OSS-Fuzz#48273
(cherry picked from commit cf95355290c64e2693f88d17e3830405f97962d9)
Commit: 7df9ff7176497c3109ac0648f381aad751ec90dd
https://github.com/OpenSIPS/opensips/commit/7df9ff7176497c3109ac0648f381aad751ec90dd
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M parser/parse_uri.c
Log Message:
-----------
parse_uri: Avoid dereferencing invalid memory on error logging
(cherry picked from commit 99c9a828dd80f2874e89a520150565fa9e9162c7)
Compare: https://github.com/OpenSIPS/opensips/compare/d798d7beb290...7df9ff717649
More information about the Devel
mailing list