[OpenSIPS-Devel] [OpenSIPS/opensips] 6aab0d: Fix cleanup of the re-used dummy sip msg.

Bogdan Andrei IANCU noreply at github.com
Thu Mar 18 08:19:29 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6aab0da937fbf3bc07a1587b1b1cc29fb78ebbc6
      https://github.com/OpenSIPS/opensips/commit/6aab0da937fbf3bc07a1587b1b1cc29fb78ebbc6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M action.c

  Log Message:
  -----------
  Fix cleanup of the re-used dummy sip msg.

Be sure to clean ALL the fields in the msg, not only the ones related to the msg parsing. The prevent inheriting of data between sequential usage of the message, we need to clean the flags, sockets, etc.

(cherry picked from commit 4a2183a620c2ede9481b4369a459e2cf65dcaa48)


  Commit: a1faad648be767c557be735331c079cf8735c858
      https://github.com/OpenSIPS/opensips/commit/a1faad648be767c557be735331c079cf8735c858
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M action.c

  Log Message:
  -----------
  Clean/Reset the timestamp too

Completion to 6aab0da937fbf3bc07a1587b1b1cc29fb78ebbc6


Compare: https://github.com/OpenSIPS/opensips/compare/d3d955fed105...a1faad648be7



More information about the Devel mailing list