Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26002
b: refs/heads/master
c: 3fb0cb5
h: refs/heads/master
v: v3
  • Loading branch information
Heikki Orsila authored and Linus Torvalds committed Apr 19, 2006
1 parent 8cee910 commit 5b252ed
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: aa1e816fc92215f94bdfd90107baae8fdc2440d1
refs/heads/master: 3fb0cb5d0f8b915a75677e8e8e4a4a4e481f03f7
2 changes: 1 addition & 1 deletion trunk/drivers/char/ipmi/ipmi_bt_sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static int bt_start_transaction(struct si_sm_data *bt,
{
unsigned int i;

if ((size < 2) || (size > IPMI_MAX_MSG_LENGTH))
if ((size < 2) || (size > (IPMI_MAX_MSG_LENGTH - 2)))
return -1;

if ((bt->state != BT_STATE_IDLE) && (bt->state != BT_STATE_HOSED))
Expand Down

0 comments on commit 5b252ed

Please sign in to comment.