Crashing sequence with nsSJISProber
Hi. By using charset detection on a set of MIDI file metadata, I have discovered and isolated a crashing sequence. It happens when uchardet is fed the input as multiple strings, and a string of the set is of length 0.
File attach produces the crash. Revision bdfd6116
The above file also contains a backtrace.
As observed, a buffer access is attempted at aLen-1
with value aLen=0
.