[OpenSIPS-Devel] [OpenSIPS/opensips] d23827: Revert "msg: remove extra bytes from malformed bod...

Razvan Crainea razvan at opensips.org
Tue Aug 14 11:54:09 EDT 2018


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d2382791ab721c3b1608b89336fe52c545a26bc6
      https://github.com/OpenSIPS/opensips/commit/d2382791ab721c3b1608b89336fe52c545a26bc6
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M msg_translator.c

  Log Message:
  -----------
  Revert "msg: remove extra bytes from malformed bodies"

This reverts commit fecb4b244c3cf84435af03db88bfd88002a69177.

(cherry picked from commit ac715eec93a017ca8e42401ddf2678256d225ccf)


  Commit: fd4dcff2bfecdd48f399fe1811cb76ec6de323c8
      https://github.com/OpenSIPS/opensips/commit/fd4dcff2bfecdd48f399fe1811cb76ec6de323c8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M msg_translator.c

  Log Message:
  -----------
  msg_translator: adjust the lumps len with the useful part of the body

Discard the extra bytes in the body that are not contained by the
Content-Length.

(cherry picked from commit ded172901d5d06436034fed9272d29adb37c2985)


Compare: https://github.com/OpenSIPS/opensips/compare/d6797d493e5e...fd4dcff2bfec
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list