[asterisk-bugs] [JIRA] (ASTERISK-25439) Segfault in find_entry () from /usr/lib/libpj.so.2 (dns_resolver, qualify_contact)
George Joseph (JIRA)
noreply at issues.asterisk.org
Mon Jan 11 17:27:33 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Joseph updated ASTERISK-25439:
-------------------------------------
Assignee: Dmitriy Serov (was: George Joseph)
Status: Waiting for Feedback (was: Open)
Possible cause...
pjproject defines a maximum hostname size of 128 (which is way too short in my opinion). If it's passed a hostname longer than that that, it segfaults.
Can you try compiling pjproject with PJ_MAX_HOSTNAME set to something very large and see if the issue still happens?
I'm going to put a check in Asterisk anyway to prevent us from sending the hostname if it's too long.
> Segfault in find_entry () from /usr/lib/libpj.so.2 (dns_resolver, qualify_contact)
> ----------------------------------------------------------------------------------
>
> Key: ASTERISK-25439
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25439
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip
> Affects Versions: 13.5.0
> Environment: # Package Information for pkg-config
> Name: libpjproject
> Description: Multimedia communication library
> URL: http://www.pjsip.org
> Version: 2.4.5
> Libs: -L${libdir} -lpjsua2 -lstdc++ -lpjsua -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util -lilbccodec -lg7221codec -lsrtp -lgsm -lspeex -lspeexdsp -lpj -lssl -lcrypto -luuid -lm -lrt -lpthread
> Cflags: -I${includedir} -I/usr/include -DPJ_AUTOCONF=1 -O2 -DNDEBUG -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -fPIC
> Reporter: Dmitriy Serov
> Assignee: Dmitriy Serov
> Attachments: 2015_09_30__20_02_07.backtrace-threads.txt, 2015_09_30__20_02_07.full.tail.txt, 2015_10_01__11_50_08.backtrace-threads.txt, 2015_10_01__11_50_08.full.tail.txt, 2015_10_01__13_14_07.backtrace-threads.txt, 2015_10_01__13_14_07.full.tail.txt, 2016_01_10__13_08_08.backtrace-threads.txt, 2016_01_10__13_08_08.full.tail.txt, 2016_01_10__22_20_01.backtrace-threads.txt, 2016_01_10__22_20_01.full.tail.txt, 2016_01_10__22_20_01.locks.txt, 2016_01_11__22_56_01.full.tail.txt, 2016_01_11__22_56_01.locks.txt, 2016_01_12__00_04_07.backtrace-threads.txt
>
>
> Segfault in find_entry.
> pjproject: 2.4.5
> PJSIP_MAX_URL_SIZE modified to 1024
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list