Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155904
b: refs/heads/master
c: 6352a29
h: refs/heads/master
v: v3
  • Loading branch information
Tyler Hicks authored and Linus Torvalds committed Jul 28, 2009
1 parent e1d4567 commit 1c3a0dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4733fd328f14280900435d9dbae1487d110a4d56
refs/heads/master: 6352a29305373ae6196491e6d4669f301e26492e
6 changes: 6 additions & 0 deletions trunk/fs/ecryptfs/keystore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,12 @@ parse_tag_11_packet(unsigned char *data, unsigned char *contents,
rc = -EINVAL;
goto out;
}
if (unlikely((*tag_11_contents_size) > max_contents_bytes)) {
printk(KERN_ERR "Literal data section in tag 11 packet exceeds "
"expected size\n");
rc = -EINVAL;
goto out;
}
if (data[(*packet_size)++] != 0x62) {
printk(KERN_WARNING "Unrecognizable packet\n");
rc = -EINVAL;
Expand Down

0 comments on commit 1c3a0dd

Please sign in to comment.