Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
linux-atm
linux-atm-2.5.0-fdleak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File linux-atm-2.5.0-fdleak.patch of Package linux-atm
Index: src/arpd/atmarp.c =================================================================== --- src/arpd/atmarp.c.orig 2009-10-10 01:49:14.000000000 +0200 +++ src/arpd/atmarp.c 2009-10-10 01:51:34.000000000 +0200 @@ -90,14 +90,17 @@ static int print_table(void) } while ((size = read(fd,buffer,BUF_SIZE))) { if (size < 0) { + close(fd); perror("read " ATMARP_DUMP_DIR "/" ATMARP_DUMP_FILE); return 1; } if (write(0,buffer,size) < 0) { + close(fd); perror("write stdout"); return 1; } } + close(fd); return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor