[Home]

Summary:ASTERISK-07653: [patch] Invalid handle of zero value of file descriptor
Reporter:Paul Cadach (pcadach)Labels:
Date Opened:2006-09-01 05:42:07Date Closed:2006-09-01 11:41:05
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) invalid-cmdfd.diff
Description:Valid value for file descriptors is 0 or positive value, while -1
indicates missing/unused descriptor (or error when opening/creating
file/socket/etc.). waitstream_core() erroneously assumes missing fd
have value 0 instead of -1 as shown in the code below in file.c.
Comments:By: Joshua C. Colp (jcolp) 2006-09-01 11:41:05

Fixed in trunk as of revision 41694. Thanks!