Jan Synacek
dc7dd61de6
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.
2017-01-03 21:34:36 +01:00
..
2016-12-01 12:41:17 +01:00
2016-11-10 10:12:31 +01:00
2016-10-23 11:43:27 -04:00
2016-12-29 11:18:38 +01:00
2016-12-16 15:41:31 +01:00
2016-10-23 11:43:27 -04:00
2016-10-23 11:43:27 -04:00
2016-12-29 11:21:37 +01:00
2016-12-17 09:49:17 -05:00
2016-12-07 18:38:41 +01:00
2016-12-17 17:26:59 -05:00
2016-12-09 10:04:30 +01:00
2016-10-26 20:12:51 -04:00
2016-12-07 15:26:11 -05:00
2016-10-23 11:43:27 -04:00
2016-10-22 16:08:55 -04:00
2016-11-11 09:08:57 -05:00
2016-12-01 00:25:51 +01:00
2016-10-23 11:43:27 -04:00
2016-11-23 16:32:06 +01:00
2016-12-11 18:01:26 -05:00
2016-11-22 13:35:09 +01:00
2016-11-07 10:15:08 -05:00
2016-12-24 00:42:13 +01:00
2016-12-01 18:55:23 -05:00
2016-11-04 08:58:41 -04:00
2016-12-14 11:51:26 +01:00
2016-12-20 20:27:06 +01:00
2016-12-07 18:38:40 +01:00
2016-10-23 11:43:27 -04:00
2016-12-13 20:59:36 +01:00
2016-12-29 12:09:54 +01:00
2016-12-13 13:03:13 +00:00
2016-10-22 16:08:55 -04:00
2016-10-23 11:43:27 -04:00
2016-12-22 10:23:29 +01:00
2016-11-07 10:15:08 -05:00
2016-12-29 11:02:39 +01:00
2016-12-27 18:09:58 +01:00
2016-10-24 19:04:43 +02:00
2016-12-27 18:09:58 +01:00
2016-10-22 16:08:55 -04:00
2016-10-23 11:43:27 -04:00
2016-10-10 22:57:01 +02:00
2016-12-22 07:58:02 +01:00
2016-10-23 11:43:27 -04:00
2016-11-07 10:15:08 -05:00
2017-01-03 21:34:36 +01:00
2016-11-28 18:25:11 +01:00
2016-11-02 11:39:48 -06:00
2016-12-17 17:26:59 -05:00
2016-12-20 11:09:59 +01:00
2016-12-14 11:51:26 +01:00
2016-11-07 10:15:08 -05:00
2016-12-14 18:29:30 +01:00
2016-12-25 12:17:22 +01:00
2016-11-11 18:50:46 +01:00
2016-12-29 11:00:55 +01:00
2016-10-10 22:57:01 +02:00
2016-12-09 10:04:30 +01:00
2016-10-24 17:29:51 +02:00
2016-11-07 10:15:08 -05:00
2016-10-26 20:55:18 -04:00