multi.c: fix possible invalid memory access in case nfds overflows
authorMarc Hoersken <info@marc-hoersken.de>
Sat, 19 Apr 2014 14:02:14 +0000 (16:02 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 19 Apr 2014 14:02:14 +0000 (16:02 +0200)
commitee6791128fce28277671ea378104050cf130d2f2
treed3d314e72d0590bf9a64c0f09d8093a94da94583
parent549b4a659a7ffabe499369869abf05762a4c0287
multi.c: fix possible invalid memory access in case nfds overflows

ufds might not be allocated in case nfds overflows to zero while
extra_nfds is still non-zero. udfs is then accessed within the
extra_nfds-based for loop.
lib/multi.c