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
bd969a089d
skia2
/
tests
/
sksl
/
errors
/
Ossfuzz37457.glsl
7 lines
88 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fix assertion discovered by fuzzer. We now stop processing a var-declaration if its array-size expression is invalid. Previously, we'd pass a null array-size expression into convertVar, which would assert (but would fail cleanly afterwards). Change-Id: I976f3326e32afbc7045a86d73c0dcb28f418a6f4 Bug: oss-fuzz:37457 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441079 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-08-21 21:13:11 +00:00
### Compilation failed:
error: 1: unknown identifier 'b'
Added range highlighting to SkSL error reports SkSL errors now identify the specific range of code they are describing, rather than just the line number. Change-Id: Ifabb3148476f9b4cd8e532f23e5b38e1cf33a87e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528039 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2022-04-06 22:24:52 +00:00
float a[b];
^
Fix assertion discovered by fuzzer. We now stop processing a var-declaration if its array-size expression is invalid. Previously, we'd pass a null array-size expression into convertVar, which would assert (but would fail cleanly afterwards). Change-Id: I976f3326e32afbc7045a86d73c0dcb28f418a6f4 Bug: oss-fuzz:37457 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/441079 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-08-21 21:13:11 +00:00
1 error
Reference in New Issue
Copy Permalink