Skip to content
Commit 5751a99f authored by Stefan Wahren's avatar Stefan Wahren Committed by Mark Brown
Browse files

regulator: core: replace sprintf with scnprintf



In order to avoid potential overflows in print_constraints we
better replace sprintf() with scnprintf().

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 96dc5896
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment