Philip Chimento
529783e56b
dir: Fix varargs argument width mismatch
...
Previously, in flatpak_dir_setup_extra_data(), n_extra_data (a gsize
which is 8 bytes wide on x86_64) was passed in a varargs list where an
unsigned int (4 bytes wide) was expected due to the "u" variant type
specifier.
This doesn't seem to have directly caused any crashes for me, but it's
undefined behaviour.
Therefore, this changes the affected keys "outstanding-extra-data" and
"total-extra-data" to be guint64 types instead of unsigned ints. The
gsize returned from g_variant_n_children() is cast to guint64 by virtue
of being assigned to a guint64-typed variable, but should not lose any
bits on supported platforms.
2019-11-22 16:03:26 +01:00
..
2019-10-03 10:42:04 +02:00
2019-10-03 10:42:04 +02:00
2019-02-25 18:12:30 +00:00
2018-05-24 11:59:52 +00:00
2019-05-02 16:58:36 +00:00
2019-09-30 12:15:36 +02:00
2019-09-19 16:53:11 +00:00
2019-09-19 16:53:11 +00:00
2019-09-06 12:49:40 +00:00
2019-10-02 14:57:11 +02:00
2019-10-02 14:57:11 +02:00
2019-11-20 13:17:27 +01:00
2019-11-22 16:03:26 +01:00
2018-05-24 11:59:52 +00:00
2018-05-24 11:59:52 +00:00
2019-02-25 18:12:30 +00:00
2019-10-03 13:54:37 +02:00
2018-07-08 10:05:37 +00:00
2019-08-16 09:13:43 +00:00
2019-10-02 14:57:11 +02:00
2019-10-24 13:54:05 +01:00
2019-10-16 16:25:06 -03:00
2019-10-03 10:42:04 +02:00
2019-10-03 10:42:04 +02:00
2019-10-03 10:42:04 +02:00
2018-10-23 07:15:39 +00:00
2019-02-25 18:12:30 +00:00
2019-02-25 18:12:30 +00:00
2019-09-06 12:49:40 +00:00
2019-09-06 12:49:40 +00:00
2018-08-09 12:49:36 +00:00
2019-09-06 12:49:40 +00:00
2019-09-06 12:49:40 +00:00
2019-09-06 12:49:40 +00:00
2019-10-03 10:42:04 +02:00
2019-11-08 00:30:44 +09:00
2018-04-26 07:41:17 +00:00
2019-04-08 12:50:42 +00:00
2019-06-14 22:44:27 +00:00
2018-05-24 11:59:52 +00:00
2018-07-08 10:05:37 +00:00
2019-02-25 18:12:30 +00:00
2018-07-08 10:05:37 +00:00
2019-05-09 12:39:36 +00:00
2018-07-08 10:05:37 +00:00
2019-04-08 12:50:42 +00:00
2018-05-24 11:59:52 +00:00
2019-09-13 07:21:15 +00:00
2019-05-09 12:39:36 +00:00
2019-04-12 08:59:35 +00:00
2019-11-20 13:17:43 +01:00
2018-05-29 16:37:21 +02:00
2019-10-10 13:22:48 +01:00
2019-10-08 15:21:09 +05:30
2019-09-30 12:15:36 +02:00
2019-09-30 12:15:36 +02:00
2018-08-09 12:49:35 +00:00
2019-09-06 12:49:40 +00:00
2019-11-22 16:03:26 +01:00
2019-11-22 16:03:26 +01:00
2018-09-03 10:31:51 +00:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2019-10-03 10:42:04 +02:00
2019-02-25 18:12:30 +00:00
2019-04-08 12:50:42 +00:00