Re: [PATCH 03/12] x86: zimage: Sanity-check the kernel version before printing it

2020-10-15 Thread Bin Meng
On Mon, Sep 28, 2020 at 8:46 AM Simon Glass wrote: > > With Chrome OS the kernel setup block is stored in a separate place from > the kernel, so it is not possible to access the kernel version string. > At present, garbage is printed. > > Add a sanity check to avoid this. > > Signed-off-by: Simon

[PATCH 03/12] x86: zimage: Sanity-check the kernel version before printing it

2020-09-27 Thread Simon Glass
With Chrome OS the kernel setup block is stored in a separate place from the kernel, so it is not possible to access the kernel version string. At present, garbage is printed. Add a sanity check to avoid this. Signed-off-by: Simon Glass --- arch/x86/lib/zimage.c | 9 + 1 file changed,