The SG_SET_RESERVED_SIZE loop could overflow in tweak_SG_buffer, and
commit23df3e1c1be5ae5e0c95ffaf015afd7994afbb81
authorxiphmont <xiphmont@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 19 Aug 2008 22:44:14 +0000 (19 22:44 +0000)
committerxiphmont <xiphmont@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 19 Aug 2008 22:44:14 +0000 (19 22:44 +0000)
tree8fb9e1f27518616c7748eeec7854bb7e923edecc
parente52d9be0c83a22af41de764a2ff2ef005aebcf52
The SG_SET_RESERVED_SIZE loop could overflow in tweak_SG_buffer, and
2.4 kernels don't guard against the overflow-- check for the overflow
ourselves or risk bricking machines still running 2.4

git-svn-id: http://svn.xiph.org/trunk@15192 0101bb08-14d6-0310-b084-bc0e0c8e3800
cdparanoia/interface/scsi_interface.c