Take into account that System Use Field may be padded.

release-1.5.4.branch
Vreixo Formoso 15 years ago
parent d48c553f40
commit 98b2dc2658

@ -191,6 +191,11 @@ size_t rrip_calc_len(Ecma119Image *t, Ecma119Node *n, int type,
}
}
/*
* The System Use field inside the directory record must be padded if
* it is an odd number (ECMA-119, 9.1.13)
*/
su_size += (su_size % 2);
return su_size;
}

Loading…
Cancel
Save