[U-Boot] [U-Boot,v8,15/30] vsprintf: Handle NULL with %pU

Alexander Graf agraf at suse.de
Thu Jun 21 15:48:24 UTC 2018


> At present a NULL pointer passed to printf for a %pU argument will cause
> U-Boot to access memory at 0. Fix this by adding a check, and print
> "(null)" instead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Alexander Graf <agraf at suse.de>

Thanks, applied to efi-next

Alex



More information about the U-Boot mailing list