On 03/21/2013 11:08 PM, Jan Stancek wrote:
> char *cuts_info;
> 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 <jstancek@...>
Applied, thank you.