[Home]

Summary:ASTERISK-20006: Fix NULL pointer segfault in ast_sockaddr_parse()
Reporter:Michael L. Young (elguero)Labels:
Date Opened:2012-06-14 20:26:03Date Closed:2012-06-19 21:05:20
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Netsock
Versions:SVN 1.8.13.0 10.5.1 Frequency of
Occurrence
Constant
Related
Issues:
must be merged before resolvingASTERISK-19965 Add IPv6 Support To Manager
Environment:Attachments:( 0) asterisk-20006-netsock-null-ptr.diff
Description:The segfault occurs when passing a NULL pointer to ast_sockaddr_parse().  This was discovered when attempting to use ast_parse_arg() and wanting to perform validity checks only.

According to the docs, config.h, "result pointer to the result.  NULL is valid here, and can be used to perform only the validity checks."
Comments: