Commit 3ff319b
Missing memory presence check (#10213)
* Call lastFrame.getMemory().isPresent() before calling lastFrame.getMemory().get().length to avoid NPE
Signed-off-by: daniellehrner <daniel.lehrner@consensys.net>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 057dcb3 commit 3ff319b
File tree
1 file changed
+7
-5
lines changed- ethereum/core/src/main/java/org/hyperledger/besu/ethereum/vm
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
254 | 256 | | |
255 | 257 | | |
| |||
0 commit comments