forked from mirrors/linux
This code is trying to ensure that the last byte of the buffer is a NUL
terminator. However, the problem is that attr->value[] is an array of
__le32, not char, so it zeroes out 4 bytes way beyond the end of the
buffer. Cast the buffer to char to address this.
Fixes:
|
||
|---|---|---|
| .. | ||
| fbnic | ||
| Kconfig | ||
| Makefile | ||