mirror of
https://github.com/torvalds/linux
synced 2024-09-30 08:20:40 +00:00
5c621744b4
gcc warns about an obviously incorrect use of strncat():
drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function 'rain_cec_adap_transmit':
drivers/media/usb/rainshadow-cec/rainshadow-cec.c:299:4: error: specified bound 48 equals the size of the destination [-Werror=stringop-overflow=]
It seems that strlcat was intended here, and using that makes the
code correct.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rainshadow-cec.c |