Skip to content

iio: Use scnprintf() for avoiding potential buffer overflow

Takashi Iwai linux-iio 5 versions – Applied

Status from this message: Applied. Thanks for sorting this out.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 4/42 patches 4 repliesApplied
  2. v2 posting 3/48 patches 1 replyApplied
  3. v2 posting 2/41 patch 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/46 patches2 repliesSuperseded
v11 patch2 repliesSuperseded

Patches in v2 posting 4/4 Applied

#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+3 -32 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBrian Masney
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

Hi,

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

v1->v2: Fix the snprintf() buffer limit argument in tsl2772
Rephrase the changelog

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     |  6 +++---
 2 files changed, 20 insertions(+), 20 deletions(-)
Signature · 1 line
2.16.4