[asterisk-bugs] [JIRA] (ASTERISK-24538) Crash in SDP sprintf

Badalian Vyacheslav (JIRA) noreply at issues.asterisk.org
Wed Nov 19 09:43:29 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223640#comment-223640 ] 

Badalian Vyacheslav commented on ASTERISK-24538:
------------------------------------------------

{code}
(gdb) frame 3
#3  0x00007ffbd21d7b5a in sdp_crypto_offer (p=0x7ffba44962e0, taglen=80) at sip/sdp_crypto.c:304
304             if (ast_asprintf(&p->a_crypto, "a=crypto:%s AES_CM_128_HMAC_SHA1_%i inline:%s\r\n",
(gdb) print *p
$1 = {a_crypto = 0x0, local_key = "\004d\252\234\233\070p*\230\214X\265\254\344?\255p<jYHy\211\233\063\260\237H)\005", tag = 0xd0840bee6bd56333 <Address 0xd0840bee6bd56333 out of bounds>,
  local_key64 = "BGSqnJs4cCqYjFi1rOQ/rXA8allIeYmbM7CfSCkF", remote_key = '\000' <repeats 29 times>}
(gdb) print p->tag
$2 = 0xd0840bee6bd56333 <Address 0xd0840bee6bd56333 out of bounds>
(gdb) print p->local_key64
$3 = "BGSqnJs4cCqYjFi1rOQ/rXA8allIeYmbM7CfSCkF"

{code}

> Crash in SDP sprintf
> --------------------
>
>                 Key: ASTERISK-24538
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24538
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 11.13.1
>            Reporter: Badalian Vyacheslav
>            Assignee: Badalian Vyacheslav
>            Severity: Critical
>         Attachments: core.m1-asterisk01.tcsbank.ru-2014-11-18T18%3A46%3A15+0300.txt, core.m1-asterisk01.tcsbank.ru-2014-11-18T19%3A27%3A42+0300.txt, core.m1-asterisk01.tcsbank.ru-2014-11-19T13%3A03%3A47+0300.txt
>
>
> Today 3 crashes in one place
> Backtraces will be added bellow



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



More information about the asterisk-bugs mailing list