diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-01-28 23:42:25 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2013-01-30 03:07:34 +0100 |
commit | 5a9f45c757b48235d86018bee2d20f9e35d7e1d7 (patch) | |
tree | 4b3ed570bc6544e0a80124d3892b6ca7a186e681 /COPYING | |
parent | 3414234f5a21b23b5b6cc0d2827ccbb4d9a2ccc8 (diff) |
cbfstool: Prevent file name to be corrupted by basename().
Calling basename(3) may modify content. We should allocate another buffer to
prevent corrupting input buffer (full file path names).
Change-Id: Ib4827f887542596feef16e7829b00444220b9922
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2203
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions