[Home]

Summary:ASTERISK-23098: [patch]possible null pointer dereference in format.c
Reporter:Marcello Ceschia (marcelloceschia)Labels:
Date Opened:2014-01-04 10:55:54.000-0600Date Closed:2014-02-14 15:28:01.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/General
Versions:11.7.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ASTERISK-23098.patch
( 1) main_format.patch
Description:{noformat}
if (!(wrapper->interface || !wrapper->interface->format_attr_sdp_parse)) {
{noformat}

with wrapper->interface == NULL wrapper->interface->format_attr_sdp_parse will be evalueted.
Comments:By: Marcello Ceschia (marcelloceschia) 2014-01-04 11:05:34.535-0600

fix for !(wrapper->interface || !wrapper->interface->format_attr_sdp_parse) issue

By: Corey Farrell (coreyfarrell) 2014-01-07 22:57:17.645-0600

main_format.patch adds extra white-space and checks the wrong field in the second conditional.  ASTERISK-23098.patch corrects these issues.