[Home]

Summary:ASTERISK-04457: Missing argument in q931.c causes asterisk to crash. Bug #4405 appears again
Reporter:Ezio Vernacotola (ezio)Labels:
Date Opened:2005-06-21 22:58:44Date Closed:2005-06-22 15:27:23
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:n q931.c, q931_hangup(), a missing argument calling pri_error() causes asterisk to crash. This was fixed in ASTERISK-4297, but appears again current cvs head. Cvs stable is ok.

****** ADDITIONAL INFORMATION ******

gdb) bt full
#0  0xb7ebb97b in strlen () from /lib/i686/libc.so.6
No symbol table info available.
#1  0xb7e8fc02 in vfprintf () from /lib/i686/libc.so.6
No symbol table info available.
#2  0xb7ead526 in vsnprintf () from /lib/i686/libc.so.6
No symbol table info available.
#3  0xb7c40311 in pri_error (pri=0x8223960, fmt=0xb7c546d8 "peerstate %s\n") at pri.c:689
       tmp = "We're not yet handling hanging up when our state is -1211819943, contact support@digium.com, ourstate Unknown, peerstate \000\000\000\000\000\000\000{\000\000\000{\000\000\000\b\220Á·ØÑú·è³ö·ð\217Á·\b\220Á·\003\000\000\000\b\000\000\000üÿÿÿ\000\000\000\000\000\000\000\000Ôpú·s\000\000\000öÿÿÿð\217Á·{\000\000\000p\215Á·"...
       ap = 0xb7c190b8 "Y\030Å·Y\030Å·\003"
#4  0xb7c495c1 in q931_hangup (pri=0x8223960, c=0xb77004d0, cause=16) at q931.c:3080
       disconnect = 1
       release_compl = 0
ASTERISK-1  0xb7c3fd32 in pri_hangup (pri=0x8223960, call=0xb77004d0, cause=16) at pri.c:518
No locals.
Comments:By: Kevin P. Fleming (kpfleming) 2005-06-22 15:27:11

Fixed in CVS HEAD, thanks!