Benedikt Spranger f0dab28915 tiny-printf: Handle NULL pointer argument to %s
A NULL pointer argument to %s causes a NULL pointer dereference in the
fixed width numerical printout code, since p is overwritten with NULL.
In case of %s width is 0. Check width before dereferencing the pointer.

Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
2024-11-29 12:59:27 +02:00
..
2024-10-11 11:44:48 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-21 17:52:52 -06:00
2024-09-12 17:35:37 +02:00
2024-07-15 12:12:18 -06:00
2024-10-11 11:44:48 -06:00
2024-11-14 18:14:05 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-11-12 19:09:52 -06:00
2024-07-19 16:48:07 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-16 11:11:56 -06:00
2024-10-14 17:58:28 -06:00
2019-12-06 16:44:20 -05:00
2020-08-24 14:11:31 -04:00
2024-07-15 12:12:18 -06:00
2024-11-13 08:14:23 -06:00
2024-10-11 11:44:47 -06:00
2024-06-30 13:58:31 +02:00
2022-01-19 18:11:34 +01:00
2024-10-14 17:58:30 -06:00
2024-11-13 08:16:41 -06:00
2019-05-05 08:48:50 -04:00