mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
regulator: core: replace sprintf with scnprintf
In order to avoid potential overflows in print_constraints we better replace sprintf() with scnprintf(). Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
96dc589624
commit
5751a99fe9
1 changed files with 24 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue