Ben Clayton
c33d10ae79
tint/resolver: Fix bad pointer deref (UAF)
...
Passing a dereferenced value from Hashmap::Find() directly into Hashmap::Add() is a potential cause of UAF, as the insertion may reallocate the map, invalidating the input reference.
I'll try to think of ways to make this foot-gun harder to do, but this CL fixes the immediate bug found by fuzzers.
Bug: chromium:1383755
Change-Id: I4f8b2fcb0745b008a47ef9947c330afb9ac4e78f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110020
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-11-13 18:26:25 +00:00
..
2022-06-29 00:55:36 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-06-29 00:55:36 +00:00
2022-06-29 00:55:36 +00:00
2022-06-29 00:55:36 +00:00
2022-06-29 00:55:36 +00:00
2022-02-21 15:19:07 +00:00
2022-08-05 15:11:44 +00:00
2022-08-05 15:11:44 +00:00
2022-11-01 16:12:23 +00:00
2022-08-05 15:11:44 +00:00
2022-02-21 15:19:07 +00:00
2022-02-21 15:19:07 +00:00
2022-06-07 13:55:34 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-06-01 01:11:59 +00:00
2022-06-01 10:08:29 +00:00
2022-02-21 15:19:07 +00:00
2022-06-07 13:55:34 +00:00
2022-06-07 13:55:34 +00:00
2022-11-09 22:04:11 +00:00
2022-11-09 22:04:11 +00:00
2022-11-02 02:25:38 +00:00
2022-11-09 22:04:11 +00:00
2022-11-09 22:04:11 +00:00
2022-06-07 13:55:34 +00:00
2022-03-28 14:31:22 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-02-21 15:19:07 +00:00
2022-08-11 02:28:01 +00:00
2022-02-21 15:19:07 +00:00
2022-03-28 14:31:22 +00:00
2022-06-07 13:55:34 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-09-02 19:19:10 +00:00
2022-06-24 17:01:59 +00:00
2022-02-21 15:19:07 +00:00
2022-06-07 13:55:34 +00:00
2022-08-01 17:21:54 +00:00
2022-08-01 17:21:54 +00:00
2022-08-01 17:21:54 +00:00
2022-08-01 17:21:54 +00:00
2022-08-01 17:21:54 +00:00
2022-07-07 17:49:02 +00:00
2022-08-01 17:21:54 +00:00
2022-07-15 23:54:10 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-07-15 23:54:10 +00:00
2022-07-15 23:54:10 +00:00
2022-07-15 23:54:10 +00:00
2022-07-15 23:54:10 +00:00
2022-07-21 15:25:35 +00:00
2022-07-22 17:43:27 +00:00
2022-07-22 17:43:27 +00:00
2022-07-21 15:25:35 +00:00
2022-07-21 15:25:35 +00:00
2022-07-21 15:25:35 +00:00
2022-07-21 15:25:35 +00:00
2022-08-10 20:01:17 +00:00
2022-08-10 20:01:17 +00:00
2022-08-10 20:01:17 +00:00
2022-08-10 20:01:17 +00:00
2022-08-10 20:01:17 +00:00
2022-08-10 20:01:17 +00:00
2022-10-12 19:13:38 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-09-09 20:42:29 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-14 02:50:38 +00:00
2022-11-02 02:25:38 +00:00
2022-10-14 02:50:38 +00:00
2022-11-02 02:25:38 +00:00
2022-10-14 02:50:38 +00:00
2022-10-18 20:17:55 +00:00
2022-10-18 20:17:55 +00:00
2022-10-18 20:17:55 +00:00
2022-10-18 20:17:55 +00:00
2022-10-18 20:17:55 +00:00
2022-10-18 20:17:55 +00:00
2022-10-26 15:20:47 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-07 13:15:21 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00
2022-11-13 18:26:25 +00:00