[OpenSIPS-Devel] [OpenSIPS/opensips] 91990d: Use LM_ERR() not LM_CRIT() to report parsing error...

Maksym Sobolyev noreply at github.com
Tue Mar 14 21:53:55 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 91990d6c53551897c3d110b87f0fbc5394c2e078
      https://github.com/OpenSIPS/opensips/commit/91990d6c53551897c3d110b87f0fbc5394c2e078
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M parser/parse_uri.c
    M parser/parse_via.c

  Log Message:
  -----------
  Use LM_ERR() not LM_CRIT() to report parsing errors, like we do
in other cases.


  Commit: 1093122ed45d7d50bcb00abec301cd1f6012f48b
      https://github.com/OpenSIPS/opensips/commit/1093122ed45d7d50bcb00abec301cd1f6012f48b
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M test/fuzz/fuzz_csv_parser.c
    M test/fuzz/fuzz_uri_parser.c

  Log Message:
  -----------
  GC unused local variable, add missing return, fix logic around
decider.


  Commit: bcaacb70ad46840fc59a303667437654dc1483f6
      https://github.com/OpenSIPS/opensips/commit/bcaacb70ad46840fc59a303667437654dc1483f6
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M net/net_tcp.c

  Log Message:
  -----------
  Fix compiler warning:

unused variable 'optval'


  Commit: 1d957112b86285232f3380d865658080080655bb
      https://github.com/OpenSIPS/opensips/commit/1d957112b86285232f3380d865658080080655bb
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M db/db_ut.h

  Log Message:
  -----------
  Don't redefine _DEFAULT_SOURCE if it's already set.


  Commit: e963b4dfc0031788b7c14a839b0af29efbde17e5
      https://github.com/OpenSIPS/opensips/commit/e963b4dfc0031788b7c14a839b0af29efbde17e5
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M parser/contact/contact.c

  Log Message:
  -----------
  Fix skip_name() to not generate strings with bogus length.
Discovered by OSS-Fuzz.


  Commit: 758b88f618465517d3b51da3e564470f0d43583e
      https://github.com/OpenSIPS/opensips/commit/758b88f618465517d3b51da3e564470f0d43583e
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M cmds.h
    M core_cmds.c
    M pvar.c
    M pvar.h

  Log Message:
  -----------
  Allow fuzzer access into core_cmds and core variables.


  Commit: 7c0bdc9bde0d0e17b06040dba7763ccb8f769191
      https://github.com/OpenSIPS/opensips/commit/7c0bdc9bde0d0e17b06040dba7763ccb8f769191
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    A test/fuzz/fuzz_core_funcs.c
    M test/fuzz/fuzz_csv_parser.c
    M test/fuzz/fuzz_msg_parser.c
    A test/fuzz/fuzz_standalone.h
    M test/fuzz/fuzz_uri_parser.c
    M test/fuzz/oss-fuzz-build.sh

  Log Message:
  -----------
  Fuzz v2:
 o fuzz built-in variables.
 o fuzz some simple core functions.
 o allow to build stand-alone fuzzers useful to debug
   crashes reported by oss-fuzz;
 o unify fuzzers initialization;


  Commit: e1c60a102f5fbbb4585f4fa1263f2f981185e2f1
      https://github.com/OpenSIPS/opensips/commit/e1c60a102f5fbbb4585f4fa1263f2f981185e2f1
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M parser/contact/contact.c

  Log Message:
  -----------
  Fix a pkg memory leak: when parsing of the Contact fails, free
all associated parameters that have been parsed so far, not just
the contact structure itself. Reported by OSS-Fuzz.


  Commit: 8507f5449677f9018402f78787e11d6a85701570
      https://github.com/OpenSIPS/opensips/commit/8507f5449677f9018402f78787e11d6a85701570
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    A test/fuzz/fuzz_core_funcs.dict
    M test/fuzz/oss-fuzz-build.sh

  Log Message:
  -----------
  Provide some dictionary to start with.


  Commit: 1419ee3adefbd17a6bdc5adb2fb92e06bc8b2673
      https://github.com/OpenSIPS/opensips/commit/1419ee3adefbd17a6bdc5adb2fb92e06bc8b2673
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M net/trans.c

  Log Message:
  -----------
  Fix off-by-one error allocating space for protos[]. Reported by
OSS-Fuzz.


  Commit: 4fe657273d21cee41d62c1293be71b70178bec40
      https://github.com/OpenSIPS/opensips/commit/4fe657273d21cee41d62c1293be71b70178bec40
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Expect that protos[proto].name can be NULL.


Compare: https://github.com/OpenSIPS/opensips/compare/7f845994b1ba...4fe657273d21



More information about the Devel mailing list