Skip to content

Commit ec26996

Browse files
authored
Merge pull request #1134 from elupus/patch-2
fix: add missing return causing uninitialized reads
2 parents 17ab6e9 + 8b75de7 commit ec26996

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,7 @@ static lfs_stag_t lfs_dir_fetchmatch(lfs_t *lfs,
12821282
if (err == LFS_ERR_CORRUPT) {
12831283
break;
12841284
}
1285+
return err;
12851286
}
12861287

12871288
lfs_fcrc_fromle32(&fcrc);

0 commit comments

Comments
 (0)