From 018395f92d4e2cf519f25bd136eb7c9f0e3034d1 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 10 Oct 2025 15:37:48 +0100 Subject: [PATCH] Fix condition check for sector suffix and prefix in read.c --- src/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/read.c b/src/read.c index d365918..4fd881b 100644 --- a/src/read.c +++ b/src/read.c @@ -967,7 +967,7 @@ int32_t aaruf_read_sector_long(void *context, const uint64_t sector_address, boo } if((ctx->sector_suffix == NULL || ctx->sector_prefix == NULL) && - (ctx->sector_suffix_corrected == NULL || ctx->sector_prefix_corrected == NULL)) + (ctx->sector_suffix_ddt == NULL || ctx->sector_prefix_ddt == NULL)) return aaruf_read_sector(context, sector_address, negative, data, length); bare_length = 0;