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

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

  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d2f020bbf80dc9faed1453b478d018f90e70bc6f
  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