commit | 2813a218b92e4d4c200b02543984bbfba70ecbf5 | [log] [tgz] |
---|---|---|
author | Sonny Rao <sonnyrao@chromium.org> | Mon Oct 10 09:22:31 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Sat Dec 17 23:34:43 2011 +0100 |
tree | 51afa14204d64abe87a2c38747e497b2b14ef041 | |
parent | 71d4f18c95a46a3455d901236f7b01edf7b8804a [diff] |
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>