[asterisk-bugs] [JIRA] (ASTERISK-27225) Crash when freeing dtls_cfg->cafile

Richard Kenner (JIRA) noreply at issues.asterisk.org
Sun Aug 27 21:22:08 CDT 2017


Richard Kenner created ASTERISK-27225:
-----------------------------------------

             Summary: Crash when freeing dtls_cfg->cafile
                 Key: ASTERISK-27225
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27225
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/RTP
    Affects Versions: 14.6.0
         Environment: CentOS 7
            Reporter: Richard Kenner
            Severity: Critical


I got crash in free() from:

#4  0x000000000059f1b0 in ast_rtp_dtls_cfg_free (
    dtls_cfg=dtls_cfg at entry=0x1cbd6b8) at rtp_engine.c:2781
2781            ast_free(dtls_cfg->cafile);
(gdb) print dtls_cfg->cafile
$1 = 0x1cbe880 ""

This looks like it's trying to free something that wasn't malloc'ed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list