Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361902
b: refs/heads/master
c: aaf9d93
h: refs/heads/master
v: v3
  • Loading branch information
Chen Gong authored and Rafael J. Wysocki committed Mar 26, 2013
1 parent 8a73a23 commit 835620d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 469dd1c4ac0869cf7d1f87eac9b5a93865c10b76
refs/heads/master: aaf9d93be71c68558c25b4052ac979ee6b7eb809
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/apei/cper.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ int apei_estatus_check(const struct acpi_hest_generic_status *estatus)
return rc;
data_len = estatus->data_length;
gdata = (struct acpi_hest_generic_data *)(estatus + 1);
while (data_len > sizeof(*gdata)) {
while (data_len >= sizeof(*gdata)) {
gedata_len = gdata->error_data_length;
if (gedata_len > data_len - sizeof(*gdata))
return -EINVAL;
Expand Down

0 comments on commit 835620d

Please sign in to comment.