Thread (2 messages) 2 messages, 2 authors, 2012-09-04

Re: [PATCH] i825xx: fix paging fault on znet_probe()

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-09-04 19:13:37
Also in: lkml

From: Fengguang Wu <redacted>
Date: Sun, 2 Sep 2012 15:25:46 +0800
In znet_probe(), strncmp() may access beyond 0x100000 and
trigger the below oops in kvm.  Fix it by limiting the loop
under 0x100000-8. I suspect the limit could be further decreased
to 0x100000-sizeof(struct netidblk), however no datasheet at hand..
 ...
Signed-off-by: Fengguang Wu <redacted>
This also makes the code actually match the description in the comment
above the loop :-)

Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help