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

Badalian Vyacheslav (JIRA) noreply at issues.asterisk.org
Sat Nov 22 06:31:29 CST 2014


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

Badalian Vyacheslav edited comment on ASTERISK-24538 at 11/22/14 6:30 AM:
--------------------------------------------------------------------------

100 calls now... no leaks... but in start asterisk have this leak (repeat 6 times):

{code}
==44910== Conditional jump or move depends on uninitialised value(s)
==44910==    at 0xAF78401: cipher_type_test (cipher.c:150)
==44910==    by 0xAF7F7C8: crypto_kernel_load_cipher_type (crypto_kernel.c:336)
==44910==    by 0xAF7F943: crypto_kernel_init (crypto_kernel.c:169)
==44910==    by 0xAF750F8: srtp_init (srtp.c:1716)
==44910==    by 0xAD6D8E7: res_srtp_init (res_srtp.c:561)
==44910==    by 0xAD6D98D: load_module (res_srtp.c:584)
==44910==    by 0x503240: start_resource (loader.c:861)
==44910==    by 0x503CFF: load_resource_list (loader.c:1063)
==44910==    by 0x504332: load_modules (loader.c:1211)
==44910==    by 0x44C2DC: main (asterisk.c:4337)
==44910==  Uninitialised value was created by a heap allocation
==44910==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
==44910==    by 0xAF7F9E5: crypto_alloc (alloc.c:102)
==44910==    by 0xAF7C641: aes_cbc_alloc (aes_cbc.c:74)
==44910==    by 0xAF7833F: cipher_type_test (cipher.c:115)
==44910==    by 0xAF7F7C8: crypto_kernel_load_cipher_type (crypto_kernel.c:336)
==44910==    by 0xAF7F943: crypto_kernel_init (crypto_kernel.c:169)
==44910==    by 0xAF750F8: srtp_init (srtp.c:1716)
==44910==    by 0xAD6D8E7: res_srtp_init (res_srtp.c:561)
==44910==    by 0xAD6D98D: load_module (res_srtp.c:584)
==44910==    by 0x503240: start_resource (loader.c:861)
==44910==    by 0x503CFF: load_resource_list (loader.c:1063)
==44910==    by 0x504332: load_modules (loader.c:1211)
==44910==
{code}


was (Author: slavon):
100 calls now... no leaks... but in start asterisk have this leak (repeat 6 times):

{code}
==44910== Conditional jump or move depends on uninitialised value(s)
==44910==    at 0xAF78401: cipher_type_test (cipher.c:150)
==44910==    by 0xAF7F7C8: crypto_kernel_load_cipher_type (crypto_kernel.c:336)
==44910==    by 0xAF7F943: crypto_kernel_init (crypto_kernel.c:169)
==44910==    by 0xAF750F8: srtp_init (srtp.c:1716)
==44910==    by 0xAD6D8E7: res_srtp_init (res_srtp.c:561)
==44910==    by 0xAD6D98D: load_module (res_srtp.c:584)
==44910==    by 0x503240: start_resource (loader.c:861)
==44910==    by 0x503CFF: load_resource_list (loader.c:1063)
==44910==    by 0x504332: load_modules (loader.c:1211)
==44910==    by 0x44C2DC: main (asterisk.c:4337)
==44910==  Uninitialised value was created by a heap allocation
==44910==    at 0x4A06A2E: malloc (vg_replace_malloc.c:270)
==44910==    by 0xAF7F9E5: crypto_alloc (alloc.c:102)
==44910==    by 0xAF7C641: aes_cbc_alloc (aes_cbc.c:74)
==44910==    by 0xAF7833F: cipher_type_test (cipher.c:115)
==44910==    by 0xAF7F7C8: crypto_kernel_load_cipher_type (crypto_kernel.c:336)
==44910==    by 0xAF7F943: crypto_kernel_init (crypto_kernel.c:169)
==44910==    by 0xAF750F8: srtp_init (srtp.c:1716)
==44910==    by 0xAD6D8E7: res_srtp_init (res_srtp.c:561)
==44910==    by 0xAD6D98D: load_module (res_srtp.c:584)
==44910==    by 0x503240: start_resource (loader.c:861)
==44910==    by 0x503CFF: load_resource_list (loader.c:1063)
==44910==    by 0x504332: load_modules (loader.c:1211)
==44910==

{/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