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
9c242fff99
skia2
/
tests
/
sksl
/
errors
/
Ossfuzz38944.glsl
5 lines
77 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fixed DSLParser error uncovered by ossfuzz Missed one more case of Optional<Wrapper<Expression>>. This should be the last one. Bug: oss-fuzz:38944 Change-Id: Ic7f790cd99e2a3ee1c3874cc767a4702265d1723 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/450476 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
2021-09-20 14:18:58 +00:00
### Compilation failed:
Add expected errors to every test file. This was (crudely) automated with shell scripts: http://go/paste/5484300603490304 Change-Id: Ic9e1c93112772d303d1158eb26d995f27b439eba Bug: skia:12665 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/505637 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
2022-02-08 17:19:26 +00:00
error: 5: expected expression, but found ''
Fix for fuzzer-discovered error with invalid var-initializers. If a VarDeclaration line contained multiple variables, and the first variable had an illegal initializer-expression, the Declare() would return a Nop. AddVarDeclaration did not expect to see a Nop and would assert once we tried to process the second var-declaration. Now, we allow adding var declarations to a Nop. Bulked up some tests to cover local and global variables (since those are parsed in separate functions) and to check both the first initializer as well as follow-on initializers (since those are parsed in separate parts of the var-decl handler). Change-Id: I66341191698175b490a659715cb8edaafe2f75ae Bug: oss-fuzz:39032 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/452696 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
2021-09-24 19:11:16 +00:00
1 error
Reference in New Issue
Copy Permalink