[OpenSIPS-Devel] [OpenSIPS/opensips] ff34d2: lib/csv: Fix some memleak corner-cases (reported b...

Liviu Chircu noreply at github.com
Mon Sep 19 21:01:00 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ff34d213cad9c2b24460aecc206520bac5411bdc
      https://github.com/OpenSIPS/opensips/commit/ff34d213cad9c2b24460aecc206520bac5411bdc
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M lib/csv.c

  Log Message:
  -----------
  lib/csv: Fix some memleak corner-cases (reported by OSS-Fuzz)

Fixes OSS-Fuzz#39925


  Commit: e0d90ec107484051e6c769056036447361c5724d
      https://github.com/OpenSIPS/opensips/commit/e0d90ec107484051e6c769056036447361c5724d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M parser/parse_uri.c

  Log Message:
  -----------
  parse_uri: Complete the fix for undefined bitwise left-shift (OSS-Fuzz)

The default auto-cast to (int) is not enough, as a value such as
255 << 24 can still overflow the 31 value bits...

Fixes OSS-Fuzz#51542


Compare: https://github.com/OpenSIPS/opensips/compare/2c6c6368c37d...e0d90ec10748



More information about the Devel mailing list