[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: [PATCH hurd] isofs: fix rock-ridge detection
From:       Samuel Thibault <samuel.thibault () gnu ! org>
Date:       2024-05-06 10:48:07
Message-ID: 20240506104807.qcpq72occgh2wfex () begin
[Download RAW message or body]

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 */
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic