Commit 67aa2c8
[wasm] Fix crash in generateAlignedMemoryIndexes
We need to prevent that the randomNonNegativeIndex() gets called with a
negative index as that will lead to crashes.
Bug: 427134598
Change-Id: I28bd483054790a1a299ddfb4af0c5e8abe81e7f2
Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/8460619
Commit-Queue: Carl Smith <cffsmith@google.com>
Reviewed-by: Carl Smith <cffsmith@google.com>
Auto-Submit: Matthias Liedtke <mliedtke@google.com>1 parent 38b76d7 commit 67aa2c8
File tree
2 files changed
+36
-2
lines changed- Sources/Fuzzilli/Base
- Tests/FuzzilliTests
2 files changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
| 3908 | + | |
3908 | 3909 | | |
3909 | 3910 | | |
3910 | 3911 | | |
3911 | | - | |
3912 | | - | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
3913 | 3916 | | |
3914 | 3917 | | |
3915 | 3918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2844 | 2844 | | |
2845 | 2845 | | |
2846 | 2846 | | |
| 2847 | + | |
| 2848 | + | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
2847 | 2878 | | |
0 commit comments