Hi, all
I am working on cleaning up some memory issues. There is invalid read issue in 
'show_decode_error'.
The reason is that when encountering a decode error, 'show_decode_error' will 
dump 32 bytes from the current pos of scanner. However,
It is possible that the remaining buffer to be scanned is less than 32 
bytes(such as a case in our nightly test).
My first idea is to use a 'bufEnd' or 'buffer length' of the scanner to check 
it , however, scanner doesn't have this kind of information currently.
Please help me if you've any idea.

Regards,
Yongsheng

_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis

Reply via email to