On 15/10/16 11:10, Bruno Haible wrote:
> Hi Pádraig,

> Thanks, also for the integer overflow check (useful also for the LP64
> platforms). Here is the proposed revised patch.

> -              if ((long int) (n + len) >= path_max)
> +              /* Check that n + len + 1 doesn't overflow and is <= path_max. 
> */
> +              if (n >= SIZE_MAX - len || n + len >= path_max)

+1

thanks

Reply via email to