mbox series

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

Message ID 20200311074325.7922-1-tiwai@suse.de (mailing list archive)
Headers show
Series iio: Use scnprintf() for avoiding potential buffer overflow | expand

Message

Takashi Iwai March 11, 2020, 7:43 a.m. UTC
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(-)