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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 19 09:02:29 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15152 
====================================================================== 
Reported By:                palbrecht
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15152
Category:                   Core/Channels
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.0 
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-05-19 09:02 CDT
====================================================================== 
Summary:                    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-05-19 09:02 palbrecht      New Issue                                    
2009-05-19 09:02 palbrecht      Asterisk Version          => 1.6.1.0         
2009-05-19 09:02 palbrecht      Regression                => No              
2009-05-19 09:02 palbrecht      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list