[OpenSIPS-Devel] [OpenSIPS/opensips] 2ba963: Fix rare UB on left-shift signed int overflow

Liviu Chircu noreply at github.com
Sun Oct 2 10:45:12 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2ba963b0c5e2b6705a3f28ce44e57b248988a103
      https://github.com/OpenSIPS/opensips/commit/2ba963b0c5e2b6705a3f28ce44e57b248988a103
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-10-02 (Sun, 02 Oct 2022)

  Changed paths:
    M parser/parse_hname2.c

  Log Message:
  -----------
  Fix rare UB on left-shift signed int overflow

By default, most commonly used compilers *define* some behaviour when
this overflow occurs, such that the program will continue normally,
without any negative consequences.

Severity: Minor
Fixes OSS-Fuzz#40201





More information about the Devel mailing list