[asterisk-bugs] [Asterisk 0015152]: [patch] 64 bit system channel name uniqueness

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 26 12:31:19 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15152 
====================================================================== 
Reported By:                palbrecht
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15152
Category:                   Core/Channels
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-19 09:02 CDT
Last Modified:              2009-08-26 12:31 CDT
====================================================================== 
Summary:                    [patch] 64 bit system channel name uniqueness
Description: 
For sip channels, the channel name is set in sip_new by calling
ast_channel_alloc with format string "SIP/%s-%08x", where the the string is
a host address and the number is a pointer to the channel's private data.

The names of the active sip channels are guaranteed to be unique, only if
asterisk data pointers are 32 bits, that is, when asterisk is compiled on a
32 bit system.

If, on the other hand, asterisk is compiled on a 64 bit system, pointers
are 64 bits and a 32 bit data pointer is ambiguous because heap is
allocated both above and below 4 gigabytes.


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-26 12:31 tilghman       Asterisk Version         1.6.1.0 => SVN      
2009-08-26 12:31 tilghman       Assigned To               => lmadsen         
2009-08-26 12:31 tilghman       Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list