Fix possible memory overwrite in init_from_environment().

It was possible for a user to overwrite memory at a relative location
with 1 by passing a negative file descriptor.
This commit is contained in:
Simon Ruderich
2013-06-13 22:08:08 +02:00
parent f30dbbd26d
commit 59375c2b79
6 changed files with 84 additions and 9 deletions

View File

@@ -0,0 +1 @@
example.expected