Commit f8eabec2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

merge 2.6.11.4 into mainline.

parents 94dad77b 8936f70a
...@@ -1000,7 +1000,7 @@ static void async_lcp_peek(struct asyncppp *ap, unsigned char *data, ...@@ -1000,7 +1000,7 @@ static void async_lcp_peek(struct asyncppp *ap, unsigned char *data,
data += 4; data += 4;
dlen -= 4; dlen -= 4;
/* data[0] is code, data[1] is length */ /* data[0] is code, data[1] is length */
while (dlen >= 2 && dlen >= data[1]) { while (dlen >= 2 && dlen >= data[1] && data[1] >= 2) {
switch (data[0]) { switch (data[0]) {
case LCP_MRU: case LCP_MRU:
val = (data[2] << 8) + data[3]; val = (data[2] << 8) + data[3];
......
Markdown is supported
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