]> git.ipfire.org Git - thirdparty/asterisk.git/commit
SIP channel name uniqueness
authorDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 21:03:52 +0000 (21:03 +0000)
committerDavid Brooks <dbrooks@digium.com>
Mon, 2 Nov 2009 21:03:52 +0000 (21:03 +0000)
commit42d27c43901dc206e94d0d1aa8815c5d41f5b67b
tree71de1ef38502720dca7bc325e2864a3ac7979eb3
parentae224e9a75872808f244c0ed3577fd9747b06474
SIP channel name uniqueness

SIP channel names were supposed to be unique by way of a name suffix derived from the
pointer to the channel's private data. Uniqueness was preserved on 32-bit systems, but
not on 64-bit systems. This patch, as suggested by kpfleming, replaces this suffix with
a simple incremented unsigned int.

(closes issue #15152)
Reported by: palbrecht

Review: https://reviewboard.asterisk.org/r/420/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@226975 65c4cc65-6c06-0410-ace0-fbb531ad65f3