]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 315502 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 26 Apr 2011 19:32:50 +0000 (19:32 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 26 Apr 2011 19:32:50 +0000 (19:32 +0000)
commit016370cc5c59daf8e81bb762dc9568940cdf2bc8
tree9d8fae2af2e8d0a62327799990ec11c7d482e05c
parent06223e643b20ddb3d15506e447112c7308a7e4f3
Merged revisions 315502 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r315502 | tilghman | 2011-04-26 14:22:52 -0500 (Tue, 26 Apr 2011) | 21 lines

  Merged revisions 315501 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r315501 | tilghman | 2011-04-26 14:18:46 -0500 (Tue, 26 Apr 2011) | 14 lines

    Fix the bounds-checking code.

    The code that set the bit within the select bitfield was correct, but the
    bounds-checking code was not.  The change to that line uses the new _bitsize
    macro for clarity.  Also, FD_ZERO macro did not zero-out anything but the
    first word of the bitfield, so this could have caused problems with modules
    using that macro with the expanded bitfield.

    (closes issue #18773)
     Reported by: jamicque
     Patches:
           20110423__issue18773.diff.txt uploaded by tilghman (license 14)
     Tested by: chris-mac
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@315503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/select.h