[asterisk-bugs] [Asterisk 0013703]: Abort in free in queue show <name> command

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 16 06:26:51 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13703 
====================================================================== 
Reported By:                davidw
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13703
Category:                   Applications/app_queue
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-15 08:56 CDT
Last Modified:              2008-10-16 06:26 CDT
====================================================================== 
Summary:                    Abort in free in queue show <name> command
Description: 
We were getting bogus queue not found messages from the QUEUE_MEMBER (and
QUEUE_MEMBER_COUNT function), so after running "queue show", which gave the
truncated queue name, we tried queue show <name> with the full name.
====================================================================== 

---------------------------------------------------------------------- 
 (0093819) davidw (reporter) - 2008-10-16 06:26
 http://bugs.digium.com/view.php?id=13703#c93819 
---------------------------------------------------------------------- 
The hash function is giving 42, when looking up the entry when doing the
queue function lookup, which might be good for hitchhiking the galaxy, but
not good when the queue entry is in hash bucket 10 (as found by brute
forcing queues, with gdb.  This value is also what one gets for queue show
<name>.

Hypothesis: the hash function is computed with the original case of the
name when loading the table, but, for the function, the name is forced to
lower case and for my queue show <name> I forced it to lower case.  (The
original is mixed case, although I obfuscated to upper case.) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-16 06:26 davidw         Note Added: 0093819                          
======================================================================




More information about the asterisk-bugs mailing list