Bug fix: Reserved and unused fields of APM entries were not zeroed.

This commit is contained in:
Thomas Schmitt 2013-04-13 12:11:26 +02:00
parent d66eef42f6
commit 439a14da1d

View File

@ -880,7 +880,7 @@ static int iso_write_apm_entry(Ecma119Image *t, int apm_block_size,
else
block_fac = 2048 / apm_block_size;
memset(buf, apm_block_size, 0);
memset(buf, 0, apm_block_size);
wpt = buf;
/* Signature */