Package: fakechroot
Version: 2.16-1

In src/execve.c, "newenvp" and added arguments are allocated memory, but
there is no call to free() for them.  If execve() returns, that memory is
leaked.  If alloca() was used (as per "newargv") this would be okay, but
they're from the heap.

Yes, there are twisted people who continue doing things if execve()
fails.  Such as in case of ENOEXEC, firing up an emulator and telling it
to do things.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sig...@m5p.com  PGP F6B23DE0         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
2477\___\_|_/DC21 03A0 5D61 985B <-PGP-> F2BE 6526 ABD2 F6B2\_|_/___/3DE0


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to