linux-sg2042/drivers/ssb
Takashi Iwai ca44e47a2b ssb: Use scnprintf() for avoiding potential buffer overflow
Since snprintf() returns the would-be-output size instead of the
actual output size, the succeeding calls may go beyond the given
buffer limit.  Fix it by replacing with scnprintf().

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2020-03-12 15:44:12 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
b43_pci_bridge.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
bridge_pcmcia_80211.c ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-04-25 19:39:34 +03:00
driver_chipcommon.c ssb: chipcommon: fix fall-through annotation 2018-10-05 11:37:20 +03:00
driver_chipcommon_pmu.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
driver_chipcommon_sflash.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
driver_extif.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
driver_gige.c ssb: driver_gige: use true and false for boolean values 2018-08-09 18:15:46 +03:00
driver_gpio.c ssb/gpio: Remove unnecessary WARN_ON from driver_gpio 2019-06-25 08:05:34 +03:00
driver_mipscore.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
driver_pcicore.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
embedded.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
host_soc.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
main.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
pci.c ssb: make array pwr_info_offset static const, makes object smaller 2019-09-13 17:23:18 +03:00
pcihost_wrapper.c SSB / B44: fix WOL for BCM4401 2014-12-04 11:32:46 -05:00
pcmcia.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
scan.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
sdio.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
sprom.c ssb: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 15:44:12 +02:00
ssb_private.h ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00