sim: eventq: Initialize _curEventQueue to dummy queue
Review Request #2134 - Created Dec. 28, 2013 and updated
| Information | |
|---|---|
| Ola Jeppsson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10003:c0686acbf0d4 --------------------------- sim: eventq: Initialize _curEventQueue to dummy queue Initialize _curEventQueue to dummy event queue instead of NULL. This avoids NULL dereferences when no simulation has been started. --- src/sim/eventq.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Posted (Jan. 4, 2014, 11:44 a.m.)
This looks fine, but out of curiosity where are you seeing the error manifest itself?
