diff options
author | Sonny Rao <sonnyrao@chromium.org> | 2011-10-10 09:22:31 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-17 23:34:43 +0100 |
commit | 068af6f843844319dc4d5c76020d311a69000482 (patch) | |
tree | 51afa14204d64abe87a2c38747e497b2b14ef041 /include/errno.h | |
parent | 71ec92b67c1983a87a8c405d280e2dba1cc0080d (diff) | |
download | u-boot-imx-068af6f843844319dc4d5c76020d311a69000482.zip u-boot-imx-068af6f843844319dc4d5c76020d311a69000482.tar.gz u-boot-imx-068af6f843844319dc4d5c76020d311a69000482.tar.bz2 |
Make printf and vprintf safe from buffer overruns
From: Sonny Rao <sonnyrao@chromium.org>
utilize the added vscnprintf functions to avoid buffer overruns
The implementation is fairly dumb in that it doesn't detect
that the buffer is too small, but at least will not cause crashes.
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Diffstat (limited to 'include/errno.h')
0 files changed, 0 insertions, 0 deletions