Signed-off-by: Jesse Millan --- linux-2.6.12-rc4/fs/eventpoll.c~ 2005-05-23 21:25:57.666594235 -0700 +++ linux-2.6.12-rc4/fs/eventpoll.c 2005-05-23 21:29:13.398503871 -0700 @@ -748,6 +748,9 @@ eexit_3: eexit_2: put_filp(file); eexit_1: + /* Reference went uninitialized. */ + *efd = 0; + *efile = NULL; return error; }