Take into account that System Use Field may be padded.
This commit is contained in:
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…
Reference in New Issue
Block a user