Skip to content
Commit 2ff34c90 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-lan78xx-fix-NULL-deref-and-memory-leak'



Johan Hovold says:

====================
net: lan78xx: fix NULL deref and memory leak

The first two patches fix a NULL-pointer dereference at probe that can
be triggered by a malicious device and a small transfer-buffer memory
leak, respectively.

For another subsystem I would have marked them:

	Cc: stable@vger.kernel.org	# 4.3

The third one replaces the driver's current broken endpoint lookup
helper, which could end up accepting incomplete interfaces and whose
results weren't even useeren
Johan
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents e911e99a ea060b35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment