[LTP] [PATCH] syscalls/fork14: Fix Buffer overflow

Jan Stancek jstancek@redhat.com
Thu Jun 11 13:33:56 CEST 2020



----- Original Message -----
> This change basically avoids the buffer overflow by keeping the check count
> to allocation limit
> The problem occurs when there is no failure and i == EXTENT, so
> pointer_vec[EXTENT] goes beyond the allocated buffer.

I changed the patch to use a new variable, that reflects number of used
fields, and pushed.

Thanks,
Jan



More information about the ltp mailing list