]> git.ipfire.org Git - thirdparty/systemd.git/commit
process-util: update the end pointer of the process name on rename (#6492)
authorJouke Witteveen <j.witteveen@gmail.com>
Wed, 2 Aug 2017 15:08:31 +0000 (17:08 +0200)
committerJouke Witteveen <j.witteveen@gmail.com>
Fri, 4 Aug 2017 09:25:49 +0000 (11:25 +0200)
commit01f989c66253ea923679ffddf266ea13339c295b
tree2e1b60f2f291a41521b3ea704e3bcca973a3409a
parentad6fc5bbaef13cc0faee65ab2dad963ee36b3529
process-util: update the end pointer of the process name on rename (#6492)

We only updated the end pointer when allocating new memory, i.e. on the first
call to rename_process.
src/basic/process-util.c