Skip to content
Commit 14f66d65 authored by Tang Yuantian's avatar Tang Yuantian Committed by Tom Rini
Browse files

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: default avatarTang Yuantian <Yuantian.Tang@freescale.com>
parent 0144caf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment