com32sys_t inreg shall be zeroified prior intcall
commit3150c7839640859e8ec6ea0243002309e5f9c068
authorErwan Velu <erwan@enovance.com>
Wed, 22 Jan 2014 22:57:12 +0000 (22 23:57 +0100)
committerErwan Velu <erwan@enovance.com>
Wed, 22 Jan 2014 22:57:12 +0000 (22 23:57 +0100)
tree275ff162a0252960548013afbe8ff7da7e9cffc0
parent7a9978f280e1d291f6fac419e7c2a0178e9e5d6b
com32sys_t inreg shall be zeroified prior intcall

As per commit f775e740a3a817a4ff5ba26bea99dbfd735456b3, inreg parameters
of intcall() shall be zeroified.

Having unclean inreg could trigger bad behaviors on some hosts.

This patch is about adding memset() calls prior any intcall() :
- some intcall didn't had any memset at all
- some successive intcall() calls didn't memset inreg in between calls
25 files changed:
com32/cmenu/libmenu/com32io.c
com32/gfxboot/gfxboot.c
com32/hdt/hdt-common.c
com32/lib/syslinux/disk.c
com32/libupload/ctime.c
com32/lua/src/vesa.c
com32/mboot/apm.c
com32/mboot/initvesa.c
com32/mboot/mem.c
com32/modules/meminfo.c
com32/modules/poweroff.c
com32/modules/pxechn.c
com32/modules/vesainfo.c
com32/sysdump/memmap.c
com32/sysdump/vesa.c
core/bios.c
core/font.c
core/fs/diskio_bios.c
core/graphics.c
core/localboot.c
core/plaincon.c
core/pxeboot.c
core/rawcon.c
memdisk/conio.c
memdisk/setup.c