[OpenSIPS-Devel] [OpenSIPS/opensips] 1034b6: ip_addr2a(): Improve error handling
Liviu Chircu
liviu at opensips.org
Thu Sep 27 08:18:12 EDT 2018
Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 1034b67f3e564bb6b64ceaf2969cfa59c4c2962a
https://github.com/OpenSIPS/opensips/commit/1034b67f3e564bb6b64ceaf2969cfa59c4c2962a
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-09-27 (Thu, 27 Sep 2018)
Changed paths:
M ip_addr.h
Log Message:
-----------
ip_addr2a(): Improve error handling
Do not return a NULL pointer when attempting to print an unknown address
family, rather an empty string.
Reported by @danceinrain
Fixes #1478
(cherry picked from commit a5a3644a4bef21f0fc042d92d4e0166bb94a9ffa)
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Devel
mailing list