[OpenSIPS-Devel] [OpenSIPS/opensips] f07048: route: do not unref if route not initialized

Răzvan Crainea noreply at github.com
Thu Aug 31 11:32:45 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f07048c5875974d4057cd0b60ab984d1ee490858
      https://github.com/OpenSIPS/opensips/commit/f07048c5875974d4057cd0b60ab984d1ee490858
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M route.c

  Log Message:
  -----------
  route: do not unref if route not initialized

Prevents crash when init fails and routes have not yet been initialized


  Commit: 242598f70959f491761fcb039b76b3359b94cc18
      https://github.com/OpenSIPS/opensips/commit/242598f70959f491761fcb039b76b3359b94cc18
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M route.c

  Log Message:
  -----------
  route: fix another crash related to f07048c


Compare: https://github.com/OpenSIPS/opensips/compare/9996f9fd13ad...242598f70959



More information about the Devel mailing list