diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-24 12:19:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-24 13:09:04 +0100 |
commit | 598d3c5a3daedace93b9fe4d6b5f0e7cf96ccd5e (patch) | |
tree | 9b51fe2ad825091993a6989902854cc11ae27be6 /Makefile | |
parent | Fix support for long hostnames (diff) | |
download | asroot-1.1.4.tar.gz asroot-1.1.4.tar.bz2 asroot-1.1.4.tar.xz |
Fix a buf and a portability issue found by Jonathan Frech1.1.4
1)
Fix read of potententially uninitialised memory when reading hostname
This bug could cause the program to enter a loop and eventually die
because it cannot allocate memory.
2)
Instead of using execvpe(3) (non-standard), set environ and call
execvp(3). (This works because asroot does not change PATH.)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions