[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd] isofs: fix rock-ridge detection
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd] isofs: fix rock-ridge detection |
Date: |
Mon, 6 May 2024 12:48:07 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
free_software@xobnur.uk, le dim. 05 mai 2024 17:00:50 -0400, a ecrit:
> The field length check should check for field overflow.
> ---
> isofs/rr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/isofs/rr.c b/isofs/rr.c
> index 4cd97924..b6d85446 100644
> --- a/isofs/rr.c
> +++ b/isofs/rr.c
> @@ -192,7 +192,7 @@ rrip_work (struct dirrect *dr, struct rrip_lookup *rr,
>
> /* Make sure the ER field is valid */
> if ((void *) er->more + er->len_id + er->len_des + er->len_src
> - < terminus)
> + > terminus)
> goto next_field;
>
> /* Check for rock-ridge */
>