[OpenSIPS-Devel] [OpenSIPS/opensips] bf3799: Fix parse_qop_value() to not access memory outside...

Liviu Chircu noreply at github.com
Fri Sep 25 17:43:11 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bf379955492ba0c058843600ba1b5a932d34a30d
      https://github.com/OpenSIPS/opensips/commit/bf379955492ba0c058843600ba1b5a932d34a30d
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-21 (Mon, 21 Sep 2020)

  Changed paths:
    M parser/parse_authenticate.c
    M parser/parse_authenticate.h

  Log Message:
  -----------
  Fix parse_qop_value() to not access memory outside of the qop value
region.

Noticed by:	liviuchircu

Use is_ws(), not isspace() while I am here.


  Commit: b2602658971214327a28f1c4ea7c9fcce82f7497
      https://github.com/OpenSIPS/opensips/commit/b2602658971214327a28f1c4ea7c9fcce82f7497
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M evi/evi_params.c
    M lib/reg/pn.c
    M modules/registrar/save.c
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ul_evi.c
    M modules/usrloc/ul_evi.h
    M modules/usrloc/ul_timer.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  Merge remote-tracking branch 'upstream/master' into master_fix_parse_qop_value


  Commit: 7741da5af94f1074e0e29fd1bef5e5a028e3bd8a
      https://github.com/OpenSIPS/opensips/commit/7741da5af94f1074e0e29fd1bef5e5a028e3bd8a
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    A parser/test/test_oob.c
    A parser/test/test_oob.h
    M parser/test/test_parse_qop.c

  Log Message:
  -----------
  o Make test_parse_qop working with the new parse_qop_value() API;

o Add few more checks for error handling;

o Organize the code better;

o Add out-of-buffer testing API, which verifies that FUT is not
  accessing memory before supplied buffer or after. The API is fairly
  generic, so it might be used in other unit tests too.


  Commit: b532509db39d8dac54ca22981038dc1928b88b37
      https://github.com/OpenSIPS/opensips/commit/b532509db39d8dac54ca22981038dc1928b88b37
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M parser/parse_authenticate.c
    M parser/parse_authenticate.h
    A parser/test/test_oob.c
    A parser/test/test_oob.h
    M parser/test/test_parse_qop.c

  Log Message:
  -----------
  Merge branch 'master_fix_parse_qop_value' of https://github.com/sippy/opensips into sippy-master_fix_parse_qop_value


  Commit: ad55f654e81935bccd2a488dcf3c65f053b5525d
      https://github.com/OpenSIPS/opensips/commit/ad55f654e81935bccd2a488dcf3c65f053b5525d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M parser/parse_authenticate.c

  Log Message:
  -----------
  parse_qop_value(): Simplify trimming code


Compare: https://github.com/OpenSIPS/opensips/compare/da73077965ee...ad55f654e819



More information about the Devel mailing list