Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 114818 Details for
Bug 172450
knemo has fd-leakage in sys backend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The proper patch
knemo-0.4.6-sysbackend.patch (text/plain), 528 bytes, created by
Anton Bolshakov
on 2007-03-28 20:46:10 UTC
(
hide
)
Description:
The proper patch
Filename:
MIME Type:
Creator:
Anton Bolshakov
Created:
2007-03-28 20:46:10 UTC
Size:
528 bytes
patch
obsolete
>--- src/knemod/backends/sysbackend.cpp.orig 2006-10-24 22:40:51.000000000 +0200 >+++ src/knemod/backends/sysbackend.cpp 2007-03-28 16:09:27.000000000 +0200 >@@ -262,6 +262,7 @@ > in.s_addr = regExp.cap( 1 ).toULong( &ok, 16 ); > data.defaultGateway = inet_ntoa( in ); > } >+ routeFile.close(); > } > > // use ioctls for the rest >@@ -289,6 +289,7 @@ > { > data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr); > } >+ close(fd); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172450
: 114818