Take into account that System Use Field may be padded.

This commit is contained in:
Vreixo Formoso 2007-12-24 14:04:15 +01:00
parent d48c553f40
commit 98b2dc2658

View File

@ -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;
}