Commit 037ed53
committed
Check enable_environment for NULL before copying
The enable_environment was missing NULL pointer checks before trying to
copy the string. This issue was found by fuzz testing, so the fuzz test
has been included as a reproducible case.1 parent eab3603 commit 037ed53
File tree
3 files changed
+8
-1
lines changed- loader
- tests
- framework/data/fuzz_test_minimized_test_cases
3 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2744 | 2744 | | |
2745 | 2745 | | |
2746 | 2746 | | |
2747 | | - | |
| 2747 | + | |
| 2748 | + | |
2748 | 2749 | | |
2749 | 2750 | | |
2750 | 2751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
0 commit comments