From d08f949afdeae0af84989330cc571ae91ed10838 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Fri, 4 Nov 2022 13:43:06 -0500 Subject: [PATCH] Fixed lfs_dir_fetchmatch not propogating bd errors correctly in one case Found by cbiffle --- lfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs.c b/lfs.c index 117595e0..b8a05b0a 100644 --- a/lfs.c +++ b/lfs.c @@ -1162,6 +1162,7 @@ static lfs_stag_t lfs_dir_fetchmatch(lfs_t *lfs, dir->erased = false; break; } + return err; } lfs_pair_fromle32(temptail); }