Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309958
b: refs/heads/master
c: 967ac8a
h: refs/heads/master
v: v3
  • Loading branch information
Haogang Chen authored and Theodore Ts'o committed May 28, 2012
1 parent 1e35c46 commit 639fb1d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 9d99012ff26380a09092a9fddbb6e5f996dc631f
refs/heads/master: 967ac8af4475ce45474800709b12137aa7634c77
2 changes: 2 additions & 0 deletions trunk/fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ static struct ext4_new_flex_group_data *alloc_flex_gd(unsigned long flexbg_size)
if (flex_gd == NULL)
goto out3;

if (flexbg_size >= UINT_MAX / sizeof(struct ext4_new_flex_group_data))
goto out2;
flex_gd->count = flexbg_size;

flex_gd->groups = kmalloc(sizeof(struct ext4_new_group_data) *
Expand Down

0 comments on commit 639fb1d

Please sign in to comment.