Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195549
b: refs/heads/master
c: f3d6e1d
h: refs/heads/master
i:
  195547: 24ba4da
v: v3
  • Loading branch information
Roel Kluin authored and James Bottomley committed Apr 11, 2010
1 parent fd569cd commit 5b99db8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 6ce00cae684e7c6310e14634320184ca3c011750
refs/heads/master: f3d6e1dcd291fd0da3accb0d60fbd0d26d2189ed
6 changes: 0 additions & 6 deletions trunk/drivers/scsi/pmcraid.c
Original file line number Diff line number Diff line change
Expand Up @@ -3751,12 +3751,6 @@ static int pmcraid_check_ioctl_buffer(
return -EINVAL;
}

/* buffer length can't be negetive */
if (hdr->buffer_length < 0) {
pmcraid_err("ioctl: invalid buffer length specified\n");
return -EINVAL;
}

/* check for appropriate buffer access */
if ((_IOC_DIR(cmd) & _IOC_READ) == _IOC_READ)
access = VERIFY_WRITE;
Expand Down

0 comments on commit 5b99db8

Please sign in to comment.