]> mj.ucw.cz Git - libucw.git/commit
setproctitle: Copy all arguments in setproctitle_init()
authorMartin Mares <mj@ucw.cz>
Wed, 18 Jul 2012 16:46:09 +0000 (18:46 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Jul 2012 16:46:09 +0000 (18:46 +0200)
commit63d7c945746d3dc7c98928883213603711c0b0b3
tree048742c218173e879f31522a72c49a1424d5f047
parent6e229d7655b00065cfdb0e79059f6bb014530ee7
setproctitle: Copy all arguments in setproctitle_init()

Otherwise, values of command-line arguments, which are not explicitly
copied, can be corrupted by setproctitle().
ucw/process.h
ucw/proctitle.c