diff options
author | Jan Synacek <jan.synacek@gmail.com> | 2017-01-03 21:34:36 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2017-01-03 21:34:36 +0100 |
commit | dc7dd61de610e9330abe7014860acfa733887d5e (patch) | |
tree | 6c25753852f3328ea9e71d46049e7043031ab239 /Makefile.am | |
parent | fa2a396620adafd861a63e0c151045b56a2151f9 (diff) |
shared: fix double free in unmask (#5005)
Easily reproducible:
1) systemctl mask foo
2) systemctl unmask foo foo
The problem here is that the *i that is put into todo[] is later freed
in strv_uniq(), which is not directly visible from this patch. Somewhere
further in the code, the string that *i pointed to is freed again. That
happens only when multiple services with the same name/path are specified.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions