From 98aea0c18ac6187cf12513107053fdb2086f85f7 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 3 Feb 2021 13:31:25 +0100 Subject: [PATCH] Heuristic fix for a new problem introduced by commit 058f18d --- libisofs/rockridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libisofs/rockridge.c b/libisofs/rockridge.c index aa3cdda..18c58cd 100644 --- a/libisofs/rockridge.c +++ b/libisofs/rockridge.c @@ -1357,6 +1357,9 @@ int susp_calc_nm_sl_al(Ecma119Image *t, Ecma119Node *n, size_t space, if (*ce > 0 && !(flag & 1)) goto unannounced_ca; + *ce += ce_prepad; + ce_prepad = 0; + /* obtain num_aapt from node */ xipt = NULL; num_aapt = 0;