You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably because of errors in the serial transmission of the memory blocks. This normally just produces glitches in the rendered image or ascii art. But the colour and character lookup helpers all have no bound checks, so it might be that some wrong value can make a lookup go out of bounds (for example out of the palette array), and therefor produce a segfault.
Quick solution will be do add bound checks to all lookup helpers in screenshot.c
Better solution will be to make serial memory dump so good that no wrong data is received.
The text was updated successfully, but these errors were encountered:
This is probably because of errors in the serial transmission of the memory blocks. This normally just produces glitches in the rendered image or ascii art. But the colour and character lookup helpers all have no bound checks, so it might be that some wrong value can make a lookup go out of bounds (for example out of the palette array), and therefor produce a segfault.
Quick solution will be do add bound checks to all lookup helpers in screenshot.c
Better solution will be to make serial memory dump so good that no wrong data is received.
The text was updated successfully, but these errors were encountered: