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

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


  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 29a048ac2cfd010cb26efad5e07ffb4d747882a4
      https://github.com/OpenSIPS/opensips/commit/29a048ac2cfd010cb26efad5e07ffb4d747882a4
  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




More information about the Devel mailing list