From 6cdcf14f23d4071548bdb7ebed1cade00ae094c6 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Sun, 20 Aug 2023 23:35:28 +0200 Subject: [PATCH] tools/fs-common: add TODO --- tools/fs-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/fs-common.c b/tools/fs-common.c index 01d3f570f..37a3ba28a 100644 --- a/tools/fs-common.c +++ b/tools/fs-common.c @@ -150,6 +150,7 @@ fs_common_read( // Reading a 0 size at the end of the file will return // SQSH_ERROR_OUT_OF_BOUNDS. This should succeed instead, // providing an empty buffer. + // TODO: Fix this in lib/reader/reader.c if (size == 0) { return 0; }