]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure that all areas that previously used select(2) now use poll(2), with implementa...
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 1 Sep 2010 18:49:11 +0000 (18:49 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 1 Sep 2010 18:49:11 +0000 (18:49 +0000)
commit408cf5d2a21b257c1eb79c4b79728b14028241f7
tree5a730854b7e4d02350cffae6d5b0d7090406ada9
parenta8742f4a9ae60b3f6530dd8dbe93249147116c24
Ensure that all areas that previously used select(2) now use poll(2), with implementations that need poll(2) implemented with select(2) safe against 1024-bit overflows.

This is a followup to the fix for the pthread timer in 1.6.2 and beyond, fixing
a potential crash bug in all supported releases.

(closes issue #17678)
 Reported by: russell
Branch: https://origsvn.digium.com/svn/asterisk/team/tilghman/ast_select

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@284478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 files changed:
channels/chan_alsa.c
channels/chan_misdn.c
channels/chan_oss.c
channels/chan_phone.c
configure
configure.ac
include/asterisk/autoconfig.h.in
include/asterisk/channel.h
include/asterisk/poll-compat.h
include/asterisk/select.h [new file with mode: 0644]
main/asterisk.c
main/poll.c
res/res_features.c
tests/test_poll.c [new file with mode: 0644]