diff options
author | Tang Yuantian <Yuantian.Tang@freescale.com> | 2015-05-06 03:21:33 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-28 12:18:24 (GMT) |
commit | 14f66d65a33f622b8138ab0fcd1e18060a2355c2 (patch) | |
tree | 34988737d61abd7d8349141eee440e8323e24cd0 /lib/time.c | |
parent | 0144caf22ce6acd5c252309bf9abe6d898e8cab3 (diff) | |
download | u-boot-fsl-qoriq-14f66d65a33f622b8138ab0fcd1e18060a2355c2.tar.xz |
fsl/sata: Replace sprintf() with snprintf()
Function 'sprintf' does not check buffer boundaries but outputs
to the buffer of fixed size which could potentially cause buffer
overflow. Use a safer function to replace it.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Diffstat (limited to 'lib/time.c')
0 files changed, 0 insertions, 0 deletions