Fix bug in path table size computation.
This commit is contained in:
parent
d954957d83
commit
49344b3ca9
@ -157,7 +157,7 @@ uint32_t calc_path_table_size(Ecma119Node *dir)
|
||||
/* size of path table for this entry */
|
||||
size = 8;
|
||||
size += dir->iso_name ? strlen(dir->iso_name) : 1;
|
||||
size += size + (size % 2);
|
||||
size += (size % 2);
|
||||
|
||||
/* and recurse */
|
||||
for (i = 0; i < dir->info.dir.nchildren; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user