diff options
| author | Benedikt Spranger <[email protected]> | 2024-10-18 10:30:02 +0200 |
|---|---|---|
| committer | Eugen Hristev <[email protected]> | 2024-11-29 12:59:27 +0200 |
| commit | f0dab28915b7890d5a7d958bc4b6f9b61f535cb4 (patch) | |
| tree | cab3a018ce691e141ef410c1ca825e08e5d204af /doc/develop/bootstd/extlinux.rst | |
| parent | 62224280d9e89648ae90346c0aede76f9b7e7610 (diff) | |
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 <[email protected]>
Reviewed-by: John Ogness <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/extlinux.rst')
0 files changed, 0 insertions, 0 deletions
