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>
Please register or sign in to comment