Michael Catanzaro
7f85fd126b
gproxyresolver: lookup_finish() should better parallel lookup_async()
...
In g_proxy_resolver_lookup_async() we have some error validation that
detects invalid URIs and directly returns an error, bypassing the
interface's lookup_async() function. This is great, but when the
interface's lookup_finish() function gets called later, it may assert
that the source tag of the GTask matches the interface's lookup_async()
function, which will not be the case.
As suggested by Philip, we need to check for this situation in
g_proxy_resolver_lookup_finish() and avoid calling into the interface
here if we did the same in g_proxy_resolver_lookup_async(). This can be
done by checking the source tag.
I added a few new tests to check the invalid URI "asdf" used in the
issue report. The final case, using async GProxyResolver directly,
checks for this bug.
Fixes #2799
2022-11-01 13:40:35 -05:00
..
2022-01-07 11:27:56 -06:00
2021-01-09 15:39:09 +01:00
2022-10-31 14:08:31 +01:00
2022-10-13 20:53:56 -04:00
2022-09-20 11:30:02 -04:00
2020-11-15 17:34:27 +01:00
2022-07-05 12:30:46 +01:00
2022-09-13 02:44:25 +02:00
2020-06-10 09:48:02 +01:00
2022-10-25 14:31:02 +02:00
2022-03-18 00:16:14 +04:00
2021-05-13 22:16:27 +01:00
2021-07-23 22:21:23 +02:00
2021-04-29 12:40:05 +02:00
2021-05-13 22:16:27 +01:00
2022-08-03 20:38:59 +02:00
2022-06-01 12:44:23 +01:00
2022-10-20 03:37:21 +02:00
2021-04-05 12:03:51 +02:00
2022-04-05 18:19:23 +01:00
2022-01-26 18:19:44 +04:00
2022-06-01 12:44:23 +01:00
2022-09-02 19:48:36 +02:00
2022-05-18 09:20:07 +01:00
2022-06-21 12:50:31 +01:00
2022-09-21 11:19:31 +01:00
2022-11-01 00:33:40 +00:00
2021-05-13 20:16:46 +00:00
2020-11-14 19:03:18 +00:00
2022-06-22 20:07:25 +02:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-10-17 10:43:59 +04:00
2022-10-20 03:37:21 +02:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-02-20 10:43:26 +00:00
2022-10-20 14:41:56 +01:00
2021-04-08 13:24:54 +02:00
2021-05-13 20:16:46 +00:00
2021-05-13 20:16:46 +00:00
2022-07-25 22:30:22 +01:00
2022-06-23 10:47:13 +01:00
2022-05-18 09:20:07 +01:00
2022-10-21 22:09:06 +07:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-07-24 14:07:02 +01:00
2021-05-13 20:16:46 +00:00
2022-05-18 09:20:07 +01:00
2021-04-15 10:19:29 +02:00
2020-10-01 16:32:50 +01:00
2021-05-13 20:16:46 +00:00
2021-05-13 20:16:46 +00:00
2022-04-04 17:39:59 +01:00
2021-04-23 10:43:05 +02:00
2021-04-23 10:43:05 +02:00
2021-05-13 20:16:46 +00:00
2021-05-13 20:16:46 +00:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-06-23 10:47:13 +01:00
2022-10-21 22:09:06 +07:00
2022-05-18 09:20:07 +01:00
2022-09-02 21:21:34 +02:00
2022-09-02 20:26:06 +02:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-07-18 19:39:41 +01:00
2022-05-18 09:20:07 +01:00
2022-10-20 03:37:21 +02:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2021-04-15 10:19:29 +02:00
2022-05-18 09:20:07 +01:00
2020-11-17 15:50:07 +00:00
2022-06-28 11:19:21 +01:00
2021-11-17 14:40:38 +01:00
2022-10-27 20:26:53 +05:30
2022-08-09 13:18:47 -05:00
2022-10-21 22:09:06 +07:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-07-25 22:30:22 +01:00
2022-06-23 10:47:13 +01:00
2022-06-23 10:47:13 +01:00
2022-05-18 09:20:07 +01:00
2021-12-14 13:47:31 -06:00
2022-06-27 15:02:55 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2021-05-13 20:16:46 +00:00
2021-05-13 20:16:46 +00:00
2020-06-12 15:01:08 +01:00
2022-10-27 14:50:48 +01:00
2021-09-06 14:46:15 +02:00
2021-09-06 14:46:15 +02:00
2022-05-18 09:20:07 +01:00
2021-09-21 10:40:14 +00:00
2022-07-15 22:07:03 +02:00
2022-11-01 10:20:36 +00:00
2021-04-15 10:19:29 +02:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2022-02-22 11:25:21 +00:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2022-07-15 22:07:03 +02:00
2021-06-04 12:09:24 +00:00
2022-06-07 19:12:46 +01:00
2021-08-13 01:32:31 +02:00
2021-09-06 18:57:06 +01:00
2022-05-18 09:20:07 +01:00
2022-11-01 13:40:35 -05:00
2022-05-18 09:20:07 +01:00
2021-04-29 12:40:05 +02:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-10-13 20:53:56 -04:00
2022-10-27 20:26:53 +05:30
2022-11-01 10:20:36 +00:00
2021-05-13 20:16:46 +00:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-06-07 11:04:25 +01:00
2021-04-23 10:43:05 +02:00
2022-05-18 09:20:07 +01:00
2022-04-01 15:10:50 +02:00
2022-05-18 09:20:07 +01:00
2022-06-21 12:50:31 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2020-11-17 15:50:07 +00:00
2022-11-01 11:48:52 +00:00
2020-06-12 15:01:08 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2020-11-14 19:03:18 +00:00
2022-05-31 12:24:13 +01:00
2020-08-17 12:33:05 +01:00
2022-06-23 10:47:13 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-05-18 09:20:07 +01:00
2022-06-01 12:44:23 +01:00
2022-05-17 17:34:06 +02:00
2022-05-18 09:20:07 +01:00
2022-10-17 13:03:26 +01:00
2020-06-10 09:48:02 +01:00
2022-06-23 10:47:13 +01:00
2022-10-31 12:02:57 +01:00