acrn-hypervisor/hypervisor/boot
Gary 5b5f1735ff acrnboot: fix the parsing hv_cmdline to correctly handle the case of containing trailing whitespaces
The pointer variable 'start' should be checked against NULL
    right after detected it is not pointer to a space character,
    otherwise the pointer variable 'end' must hold the wrong
    address right after NULL if the cmdline containing trailing
    whitespaces and deference the wrong address out of cmdline
    string. this parsing code also been optimized and simplified.

Tracked-On: projectacrn#4250
Signed-off-by: Gary <gordon.king@intel.com>
2019-12-17 10:58:28 +08:00
..
guest HV: parse default pci mmcfg base 2019-12-02 16:20:24 +08:00
include HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM 2019-12-12 13:49:28 +08:00
acpi_base.c HV: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM 2019-12-12 13:49:28 +08:00
cmdline.c acrnboot: fix the parsing hv_cmdline to correctly handle the case of containing trailing whitespaces 2019-12-17 10:58:28 +08:00
reloc.c acrnboot: correct the calculation of the end boundry of _DYNAMIC region 2019-12-11 09:31:24 +08:00