Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333116
b: refs/heads/master
c: 13fe4ba
h: refs/heads/master
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Sep 26, 2012
1 parent cf2541c commit 9ab44ee
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8a9a8b8332b92b13316cf49685b5dc5257cfe115
refs/heads/master: 13fe4ba1b64c099843c75b4f0633ad30a4526637
3 changes: 2 additions & 1 deletion trunk/fs/nfs/nfs4xdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -5642,7 +5642,8 @@ static int decode_getdeviceinfo(struct xdr_stream *xdr,
* and places the remaining xdr data in xdr_buf->tail
*/
pdev->mincount = be32_to_cpup(p);
xdr_read_pages(xdr, pdev->mincount); /* include space for the length */
if (xdr_read_pages(xdr, pdev->mincount) != pdev->mincount)
goto out_overflow;

/* Parse notification bitmap, verifying that it is zero. */
p = xdr_inline_decode(xdr, 4);
Expand Down

0 comments on commit 9ab44ee

Please sign in to comment.