mirror of
https://github.com/torvalds/linux.git
synced 2026-09-19 09:08:02 +02:00
Zero the allocated buffer in j1939_session_fresh_new() to ensure it
contains no residual data.
While there is a potential performance impact if users allocate maximum
sized ETP buffers, most real-world use cases are not noticeably affected
since the maximum known buffer size is typically around 65K.
Fixes:
|
||
|---|---|---|
| .. | ||
| address-claim.c | ||
| bus.c | ||
| j1939-priv.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| socket.c | ||
| transport.c | ||