summaryrefslogtreecommitdiff
path: root/src/dissect
diff options
context:
space:
mode:
authorJan Synacek <jan.synacek@gmail.com>2017-01-03 21:34:36 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2017-01-03 21:34:36 +0100
commitdc7dd61de610e9330abe7014860acfa733887d5e (patch)
tree6c25753852f3328ea9e71d46049e7043031ab239 /src/dissect
parentfa2a396620adafd861a63e0c151045b56a2151f9 (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 'src/dissect')
0 files changed, 0 insertions, 0 deletions