pan: fix potential overrun in tag_report
while (tok_num < 5 &&
(cuts_info[++tok_num] = strtok(NULL, "\t ")) != NULL) ;
While above can run for tok_num == 4, in which case:
cuts_info[++tok_num] becomes cuts_info
and that is outside of cuts_info array.
Signed-off-by: Jan Stancek <firstname.lastname@example.org>
Signed-off-by: Wanlong Gao <email@example.com>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.