iio: Use scnprintf() for avoiding potential buffer overflow
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iio: core: Use scnprintf() for avoiding potential buffer overflowdrivers/ | +17 | 2 replies | |
| 2/2 | iio: tsl2772: Use scnprintf() for avoiding potential buffer overflowdrivers/ | +2 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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