[OpenSIPS-Devel] [OpenSIPS/opensips] ad3876: Fix handling of NULL proto in sip_resolvehost()

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Dec 15 05:26:35 EST 2016


  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad387652b2851e60a805ad06b0e55fe7685d4103
      https://github.com/OpenSIPS/opensips/commit/ad387652b2851e60a805ad06b0e55fe7685d4103
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M resolve.c

  Log Message:
  -----------
  Fix handling of NULL proto in sip_resolvehost()

"proto" is not not mandatory (it may be NULL) as parameter, but there were cases where the code was assuming a not NULL proto variable.

Reported by Nick Altmann

(cherry picked from commit 29a048ac2cfd010cb26efad5e07ffb4d747882a4)




More information about the Devel mailing list