Michael Catanzaro
299812d5ec
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-02 09:49:57 +00:00
..
2022-01-07 11:27:56 -06:00
2022-01-22 01:30:16 +00:00
2022-01-26 10:14:02 +01:00
2022-09-20 11:30:02 -04:00
2022-07-05 12:30:46 +01:00
2022-09-13 02:44:25 +02:00
2021-05-13 22:16:27 +01: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-17 11:00:27 +01: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-05-18 09:20:07 +01:00
2022-09-13 02:44:25 +02:00
2021-05-13 20:16:46 +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 11:00:27 +01:00
2022-10-20 13:53:09 +01: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-09-14 13:21:53 +00: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-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-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-05-13 20:16:46 +00:00
2021-05-13 20:16:46 +00:00
2022-04-04 17:39:59 +01: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-05-18 09:20:07 +01: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-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-18 09:20:07 +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-28 11:19:21 +01:00
2021-11-17 14:40:38 +01:00
2022-06-23 10:47:19 +01:00
2022-10-21 12:51:00 +01:00
2022-10-17 11:52:18 +01: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
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-10-12 16:49:39 +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-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-02 09:49:57 +00: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-05-18 09:20:07 +01: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
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
2022-06-23 10:47:13 +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
2022-05-31 12:24:13 +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-09-13 16:30:12 +02:00
2022-06-23 10:47:13 +01:00