5b5f1735ff
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> |
||
---|---|---|
.. | ||
guest | ||
include | ||
acpi_base.c | ||
cmdline.c | ||
reloc.c |