Subtitle: fix off-by-one error during allocation before call to sscanf
Fix a crash when parsing subtitles. From the man page of sscanf:
"the next pointer must be a pointer to character array that is long
enough to hold the input sequence and the terminating null byte"
Signed-off-by: Ilkka Ollakka <ileoo@videolan.org>
Showing
Please register or sign in to comment