[PATCH] commands: mmc_extcsd: Fix incorrect usage of sprintf
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 28 07:39:52 PDT 2016
On Wed, Apr 27, 2016 at 07:38:41AM -0700, Andrey Smirnov wrote:
> In a number of places print_field_ge_v7() and print_field() function
> would call sprintf() without providing is with appropriate output
> buffer (str is initialized to NULL). Replace the sprintf() with
> basprintf() to fix that.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
One of those how-could-this-ever-work patches ;)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list