Re: [PATCH] commands: mmc_extcsd: Fix incorrect usage of sprintf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux