Simon McVittie
20863d3522
goption: Relax assertion to avoid being broken by kdeinit5
...
kdeinit5 overwrites argv, which in turn results in /proc/self/cmdline
being overwritten. It seems that this is done in a way that does not
necessarily guarantee that /proc/self/cmdline will end up NUL-terminated.
However, g_file_get_contents() is documented to fill a buffer of size
len + 1, where buffer[len] == '\0', even if the file's actual contents
(from buffer[0] to buffer[len-1] inclusive) did not include a NUL;
so we can safely relax this assertion slightly.
Resolves: https://gitlab.gnome.org/GNOME/glib/issues/1923
Signed-off-by: Simon McVittie <smcv@collabora.com>
2019-10-31 15:42:01 +00:00
..
2019-07-29 12:27:29 +01:00
2019-01-16 10:24:11 -05:00
2019-01-15 15:11:43 +00:00
2019-07-11 15:38:21 +08:00
2019-01-15 15:11:43 +00:00
2019-01-15 15:11:43 +00:00
2019-10-25 17:56:03 +01:00
2019-01-15 15:11:43 +00:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2019-07-10 10:10:58 -04:00
2019-09-02 16:05:07 +02:00
2019-07-09 12:12:18 +02:00
2019-07-29 12:27:29 +01:00
2019-07-29 12:27:29 +01:00
2017-05-24 11:58:19 +02:00
2019-01-15 15:11:43 +00:00
2018-07-10 17:49:16 +02:00
2019-08-26 20:18:45 +00:00
2018-08-22 10:37:15 +01:00
2019-02-27 11:21:43 +00:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-08-24 19:14:05 +00:00
2018-08-22 11:18:02 +01:00
2018-06-02 09:45:55 +02:00
2018-08-06 15:20:02 +03:00
2017-05-24 11:58:19 +02:00
2019-05-27 17:51:40 +00:00
2019-05-27 17:51:40 +00:00
2017-05-24 11:58:19 +02:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2019-04-25 12:55:04 +08:00
2019-04-12 11:12:28 +05:30
2018-08-22 11:18:02 +01:00
2019-01-28 15:24:06 +01:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-07-29 12:27:29 +01:00
2019-07-29 12:27:29 +01:00
2019-09-25 14:45:25 +01:00
2019-07-29 12:27:29 +01:00
2019-01-24 11:31:38 +01:00
2017-05-24 11:58:19 +02:00
2016-09-21 18:30:52 +02:00
2018-11-28 11:04:48 +01:00
2017-05-24 11:58:19 +02:00
2019-09-02 14:16:33 +01:00
2017-05-24 11:58:19 +02:00
2019-08-08 02:32:46 +02:00
2019-05-30 10:38:45 +01:00
2019-01-15 15:11:43 +00:00
2017-05-24 11:58:19 +02:00
2019-08-24 19:14:05 +00:00
2019-05-30 10:38:45 +01:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2017-11-12 16:36:16 +01:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-03-15 21:30:03 +01:00
2019-08-24 19:14:05 +00:00
2019-03-17 19:05:34 +01:00
2018-04-27 16:46:19 +01:00
2019-08-24 19:14:05 +00:00
2018-08-22 11:18:02 +01:00
2019-05-17 17:46:24 +02:00
2018-08-25 23:59:45 +01:00
2017-05-24 11:58:19 +02:00
2019-05-10 12:48:20 +02:00
2019-03-06 11:41:56 +00:00
2019-03-06 11:41:56 +00:00
2019-03-04 11:12:59 +00:00
2017-11-01 12:46:38 +00:00
2019-06-18 17:29:36 +08:00
2019-03-17 19:05:34 +01:00
2017-05-24 11:58:19 +02:00
2019-05-30 10:38:45 +01:00
2018-01-04 22:19:30 +01:00
2019-08-24 19:14:05 +00:00
2019-05-30 10:38:45 +01:00
2013-01-13 13:11:57 -05:00
2019-05-01 13:01:14 -07:00
2019-05-01 13:01:14 -07:00
2019-07-10 10:47:35 +08:00
2017-05-24 11:58:19 +02:00
2019-07-29 12:27:29 +01:00
2019-08-26 18:50:16 +03:00
2019-03-15 21:30:22 +01:00
2018-08-22 11:18:02 +01:00
2019-06-21 16:18:40 -07:00
2017-05-24 11:58:19 +02:00
2018-12-18 13:27:43 +00:00
2019-08-26 18:50:16 +03:00
2019-08-27 00:17:29 +05:30
2019-07-26 20:49:01 +01:00
2008-04-08 02:59:05 +00:00
2017-11-28 14:16:25 +00:00
2019-06-25 09:19:49 +02:00
2019-10-31 15:42:01 +00:00
2019-06-03 10:57:18 +01:00
2019-02-01 09:10:02 -06:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2018-12-28 13:28:43 +01:00
2017-05-24 11:58:19 +02:00
2019-03-15 21:30:22 +01:00
2017-05-24 11:58:19 +02:00
2019-08-20 17:19:26 +02:00
2017-05-24 11:58:19 +02:00
2019-08-20 17:19:26 +02:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-03-15 21:30:22 +01:00
2017-05-24 11:58:19 +02:00
2019-05-02 13:53:09 +01:00
2019-05-01 13:01:14 -07:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2019-07-10 10:10:58 -04:00
2018-08-22 11:18:02 +01:00
2018-12-18 11:18:43 +00:00
2018-11-08 16:04:51 +01:00
2018-11-08 16:04:51 +01:00
2018-07-30 23:06:23 +05:30
2018-12-17 13:53:34 +00:00
2019-08-24 19:14:05 +00:00
2017-10-06 12:49:12 +01:00
2019-04-26 12:12:31 +01:00
2019-05-30 10:38:45 +01:00
2019-05-08 13:07:55 +01:00
2019-04-26 12:12:31 +01:00
2017-05-24 11:58:19 +02:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2019-07-29 12:27:29 +01:00
2018-08-22 11:18:02 +01:00
2018-08-20 11:00:54 +01:00
2017-05-24 11:58:19 +02:00
2018-06-12 16:13:51 +01:00
2019-08-24 19:14:05 +00:00
2019-08-24 19:14:05 +00:00
2019-10-28 21:02:31 +00:00
2019-05-30 10:38:45 +01:00
2018-10-10 19:19:18 +00:00
2019-06-21 21:17:43 +10:00
2019-05-10 12:58:56 +01:00
2018-10-10 19:19:18 +00:00
2019-08-24 19:14:05 +00:00
2018-12-17 17:16:03 +00:00
2019-03-17 19:05:34 +01:00
2019-05-30 10:38:45 +01:00
2017-10-26 12:27:17 +01:00
2017-05-24 11:58:19 +02:00
2019-05-14 12:14:54 +01:00
2019-05-14 12:14:54 +01:00
2019-08-24 19:14:05 +00:00
2019-10-28 20:57:14 +00:00
2019-08-30 01:29:04 +08:00
2019-01-31 13:19:29 +00:00
2019-01-31 13:19:29 +00:00
2019-05-10 12:48:20 +02:00
2019-03-17 19:05:24 +01:00
2017-05-24 11:58:19 +02:00
2019-01-31 13:19:29 +00:00
2019-07-29 12:27:29 +01:00
2019-07-29 12:27:29 +01:00
2019-08-24 19:14:05 +00:00
2018-04-13 15:25:26 +01:00
2014-02-20 18:27:24 -05:00
2018-07-30 21:15:22 +01:00
2019-05-30 10:39:11 +01:00
2019-05-30 10:39:11 +01:00
2019-07-23 11:41:42 +00:00
2017-05-24 11:58:19 +02:00
2019-07-29 12:27:29 +01:00
2017-05-24 11:58:19 +02:00
2019-05-08 13:07:55 +01:00
2019-05-08 13:07:55 +01:00
2019-07-10 10:10:40 -04:00
2017-05-24 11:58:19 +02:00
2019-06-04 18:20:18 +02:00
2014-06-28 12:49:38 -04:00
2019-06-29 15:06:20 +10:00
2019-05-08 13:07:55 +01:00
2019-08-24 19:14:05 +00:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-08-24 19:14:05 +00:00
2019-08-26 19:46:59 +05:30
2019-05-30 10:38:45 +01:00
2018-12-17 17:16:03 +00:00
2017-02-06 14:40:38 +01:00
2017-02-06 14:40:38 +01:00
2018-05-28 09:22:55 -04:00
2019-09-25 14:49:59 +01:00
2017-05-24 11:58:19 +02:00
2018-10-23 17:01:51 +13:00
2019-10-25 17:56:03 +01:00
2018-11-06 12:49:25 +00:00
2018-11-06 12:49:25 +00:00
2019-08-24 19:14:05 +00:00
2018-06-15 13:10:36 +01:00
2019-03-08 19:46:21 +00:00
2018-10-23 17:01:51 +13:00
2019-08-24 19:14:05 +00:00
2018-10-23 17:01:51 +13:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2019-05-30 10:38:45 +01:00
2018-04-27 16:46:19 +01:00
2017-05-24 11:58:19 +02:00
2019-08-10 21:56:33 +02:00
2019-08-10 21:56:33 +02:00
2017-07-12 22:36:30 +02:00
2016-05-23 10:52:10 -04:00
2019-10-02 08:57:36 +00:00
2018-07-12 23:48:41 +02:00
2018-05-28 09:22:55 -04:00
2016-08-13 10:31:26 +02:00