mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
713baf3dae
An earlier commit replaced using batostr to using %pMR sprintf for the
construction of session->name. Static analysis detected that this new
method can use a total of 21 characters (including the trailing '\0')
so we need to increase the BTNAMSIZ from 18 to 21 to fix potential
buffer overflows.
Addresses-Coverity: ("Out-of-bounds write")
Fixes:
|
||
---|---|---|
.. | ||
capi.c | ||
cmtp.h | ||
core.c | ||
Kconfig | ||
Makefile | ||
sock.c |