From b4d1e3e3a9a8ff17aaef006289c05830801c7c52 Mon Sep 17 00:00:00 2001 From: "free_software@xobnur.uk" Date: Sun, 5 May 2024 17:00:50 -0400 Subject: isofs: fix rock-ridge detection The field length check should check for field overflow. Message-ID: <8e69aefc-8c08-4189-a5b9-974303427597@xobnur.uk> --- isofs/rr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'isofs/rr.c') 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 */ -- cgit v1.2.3