Skip to content

iio: Use scnprintf() for avoiding potential buffer overflow

Takashi Iwai linux-iio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: core: Use scnprintf() for avoiding potential buffer overflowdrivers/iio/industrialio-core.c+17 -172 replies
2/2iio: tsl2772: Use scnprintf() for avoiding potential buffer overflowdrivers/iio/light/tsl2772.c+2 -26 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iio: Use scnprintf() for avoiding potential buffer overflow

Hi,

a trivial patchset to replace snprintf() calls with the safer scnprintf() calls for avoiding potential buffer overflows.

Takashi

===

Takashi Iwai (2):
iio: core: Use scnprintf() for avoiding potential buffer overflow
iio: tsl2772: Use scnprintf() for avoiding potential buffer overflow

 drivers/iio/industrialio-core.c | 34 +++++++++++++++++-----------------
 drivers/iio/light/tsl2772.c     |  4 ++--
 2 files changed, 19 insertions(+), 19 deletions(-)
Signature · 1 line
2.16.4