aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-24 12:19:45 +0100
committerMattias Andrée <maandree@kth.se>2021-03-24 13:09:04 +0100
commit598d3c5a3daedace93b9fe4d6b5f0e7cf96ccd5e (patch)
tree9b51fe2ad825091993a6989902854cc11ae27be6 /config.mk
parentFix support for long hostnames (diff)
downloadasroot-ac44e6863eb654693a03f30dd5deadab7133bc57.tar.gz
asroot-ac44e6863eb654693a03f30dd5deadab7133bc57.tar.bz2
asroot-ac44e6863eb654693a03f30dd5deadab7133bc57.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 '')
0 files changed, 0 insertions, 0 deletions