Skip to content
Commit afdf6e18 authored by Thor Thayer's avatar Thor Thayer Committed by Meng Li
Browse files

FogBugz #532583-2: hwmon: Fix buffer calls for SDL compliance.

commit  ac2b8b68a1e2d58bc5520349dac72f659750fdc4 from
https://github.com/altera-opensource/linux-socfpga.git



The buffer calls need to be more secure so pass the buffer size
in the sprintf functions. Limit buffer size to 5.

Signed-off-by: default avatarThor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 4e4fe70b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment