VerilatedRestore::fill() - overrun possible due to incorrect looping #1013
Labels
area: wrong runtime result
Issue involves an incorrect runtine result from Verilated model
resolution: fixed
Closed; fixed
Author Name: Jason McMullan (@ezrec)
Original Redmine Issue: 1013 from https://www.veripool.org
Original Date: 2015-12-14
Original Assignee: Jason McMullan (@ezrec)
I've had (on larger models) VerilatedRestore::fill() crash, as *sp was pointing outside of the allocated memory. Easily reproducible with valgrind.
The following patch appears to resolve the overrun issue for me:
The text was updated successfully, but these errors were encountered: