This website requires JavaScript.
ReeceSX
Explore
Aurora
Register
Sign In
AuroraMiddleware
/
skia2
Watch
1
Star
0
Fork
0
You've already forked skia2
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
759217eb94
Branches
Tags
No results found.
skia2
/
tests
/
sksl
/
shared
/
DeadIfStatement.glsl
5 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Create test case for oss-fuzz:26942. Change-Id: I19a9564ac4d52b709b8fdd757b99222372c626f4 Bug: oss-fuzz:26942 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331598 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-03 16:33:49 +00:00
Fix use-after-free error discovered by the fuzzer. When eliminating a CFG node, we now flag its exit nodes; if our optimization pass reaches one of those flagged nodes, we stop the current optimization process in its tracks and initiate a rescan. We do NOT recursively mark the exits of the exit nodes, so this fix is reliant on the CFG being ordered in a non-chaotic fashion, but in practice this seems to be sufficient for the CFGs we generate today. Change-Id: I892805361c5f4297e02146f37a759dfda83f5488 Bug: oss-fuzz:26942 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331597 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-03 16:35:01 +00:00
void main() {
return;
}
Reference in New Issue
Copy Permalink