Updated from Linux LTS 3.10.21 to 3.10.22
This commit is contained in:
@@ -90,7 +90,7 @@ int extract_param(
|
||||
if (len < 0)
|
||||
return -1;
|
||||
|
||||
if (len > max_length) {
|
||||
if (len >= max_length) {
|
||||
pr_err("Length of input: %d exceeds max_length:"
|
||||
" %d\n", len, max_length);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user