Re: [PATCH][next] binfmt_elf: fix unsigned regset0_size compared to less than zero

From: Al Viro
Date: Mon Jul 27 2020 - 14:43:19 EST


On Mon, Jul 27, 2020 at 06:40:54PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable regset0_size is an unsigned int and it is being checked
> for an error by checking if it is less than zero, and hence this
> check is always going to be false. Fix this by making the variable
> regset0_size signed.

Folded and pushed...