Closed pmeerw closed 5 years ago
Hey, sorry for the delay on this and thanks for reporting it. I think I've fixed it, albeit in a different way on the garbage-display branch with 11df04b92a32c50e2323a8b44cd509697defcc5c. Could you take a look and see if that addresses the issue?
Thanks!
closed in #26, thanks again for pointing this out and the followup review.
This fixes two issues as illustrated below. First, 'buf' is not initialized, thus strings might not be zero-terminated (notice 'QV' random characters below). Second, invalid instructions are not logged since 'buf' is cleared beforehand (notice '' below).