[OpenSIPS-Devel] [OpenSIPS/opensips] 30ef0c: Rework parse_authenticate_body to be more clear. F...

Liviu Chircu noreply at github.com
Mon Sep 28 19:51:55 EST 2020


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

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

  Log Message:
  -----------
  Rework parse_authenticate_body to be more clear. Fix issue always
accessing body.s[0] even if the length is 0.


  Commit: 382757cd27de363319ff26e8d22081ab5d8b3f12
      https://github.com/OpenSIPS/opensips/commit/382757cd27de363319ff26e8d22081ab5d8b3f12
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    A parser/test/test_parse_authenticate_body.c
    A parser/test/test_parse_authenticate_body.h
    M parser/test/test_parser.c

  Log Message:
  -----------
  Add unit test for the parse_authenticate_body().


  Commit: 080f34d3cafabd90bb59480f00ddbacea74c6ec0
      https://github.com/OpenSIPS/opensips/commit/080f34d3cafabd90bb59480f00ddbacea74c6ec0
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

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

  Log Message:
  -----------
  Improve OOB test to provide a direction hint, so we can have a more
useful debug output.


  Commit: 92cf30bb1184c86da2ad21867378265122bd18b9
      https://github.com/OpenSIPS/opensips/commit/92cf30bb1184c86da2ad21867378265122bd18b9
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M modules/presence/doc/presence_admin.xml

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


  Commit: 7bb1206129aaff4695bcd7b6a3aae40eb076c42f
      https://github.com/OpenSIPS/opensips/commit/7bb1206129aaff4695bcd7b6a3aae40eb076c42f
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M test/1.sh
    M test/11.sh
    M test/12.sh
    M test/13.sh
    M test/14.sh
    M test/15.sh
    M test/16.sh
    M test/18.sh
    M test/19.sh
    M test/2.sh
    M test/20.sh
    M test/21.sh
    M test/22.sh
    M test/23.sh
    M test/25.sh
    M test/26.sh
    M test/27.sh
    M test/28.sh
    M test/29.sh
    M test/30.sh
    M test/31.sh
    M test/32.sh
    M test/33.sh
    M test/34.sh
    M test/35.sh
    M test/4.sh
    M test/5.sh
    M test/6.sh
    M test/7.sh
    M test/Makefile

  Log Message:
  -----------
  Merge branch 'master' of github.com:OpenSIPS/opensips into fix_parse_authenticate_body


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

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

  Log Message:
  -----------
  Rename enum members:
  o OOB_PRE -> OOB_UNDERFLOW;
  o OOB_POST -> OOB_OVERFLOW.

Convert repeating debug expression into a resuable macro.

Suggested by:	@liviuchircu


  Commit: 025463a909bd3519da30f497414ece8431658494
      https://github.com/OpenSIPS/opensips/commit/025463a909bd3519da30f497414ece8431658494
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M parser/test/test_parse_authenticate_body.c

  Log Message:
  -----------
  Move test data struct out of test function and format it a bit
better.

Suggested by:	@liviuchircu


  Commit: 1faf7664296b195aab29d9886042bc08acc1cddd
      https://github.com/OpenSIPS/opensips/commit/1faf7664296b195aab29d9886042bc08acc1cddd
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

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

  Log Message:
  -----------
  Merge pull request #2260 from sippy/fix_parse_authenticate_body

Clean up parse_authenticate_body(), fix small bug. Add Unit Test. Improve OOB test.


Compare: https://github.com/OpenSIPS/opensips/compare/b8d86380b95d...1faf7664296b



More information about the Devel mailing list