| Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Thank you to Jonathan Frech for catching this mistake
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|
|
Signed-off-by: Mattias Andrée <maandree@kth.se>
|