Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codedokode
· 8y ago · 0 comments
While there are flags for closing file descriptors on exec(), they are not set by default. This means that delvelopers of every application that uses fork() must set these flags otherwise descriptor leak is present.
Comments
[–]
gmueckl
8y ago
But if your 3rd party library keeps a file handle around internally that does not have the flag set, you're still going to have a bad day.