From: elhananhaenel Date: Sun, 8 Mar 2026 13:33:50 +0000 (+0200) Subject: Add TODO comment for future error propagation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bd2e8e855d387774edadd7e2fd50e58c01439f;p=thirdparty%2Flibarchive.git Add TODO comment for future error propagation --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 64016d488..eb37d75ee 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -2760,7 +2760,10 @@ parse_rockridge_ZF1(struct file_info *file, const unsigned char *data, file->pz = 1; file->pz_log2_bs = data[3]; if (file->pz_log2_bs < 15 || file->pz_log2_bs > 17) { - /* Invalid block size exponent; disable zisofs. */ + /* TODO: Return an error here instead of silently + * disabling zisofs. That requires propagating an + * error return through parse_rockridge() and its + * callers. */ file->pz = 0; return; }