lib: declared buffer is too small to hold string
Displaying an unsigned 64-bit integer can be represented by up to 20
characters. The 20 bytes buffer reserved to store the formatted string
"%llu Bytes" is to small: (20 + 6) = 26. Hence, a bigger buffer is reserved
to hold this string.

Signed-off-by: Renaud Barbier <renaud.barbier@ge.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 45ad47a commit 97e553bc657efcb99b6a99fe93fd3b06d7f0f82a
@Renaud Barbier Renaud Barbier authored on 8 Apr 2016
Sascha Hauer committed on 12 Apr 2016
Showing 1 changed file
View
lib/display_options.c