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

Alexander Graf agraf at suse.de
Mon Jun 18 14:47:06 UTC 2018


On 06/18/2018 04:08 PM, Simon Glass wrote:
> 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>


Alex



More information about the U-Boot mailing list