Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44380
b: refs/heads/master
c: b87576d
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and Adrian Bunk committed Dec 12, 2006
1 parent da7a233 commit 46a4ead
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: df4365ce8829e84e8e6fe7d2371ea8f40630e865
refs/heads/master: b87576d59b5e8bd235e8579fd33b5d5af528b210
3 changes: 1 addition & 2 deletions trunk/fs/binfmt_elf_fdpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,12 +706,11 @@ static int elf_fdpic_map_file(struct elf_fdpic_params *params,
return -ELIBBAD;

size = sizeof(*loadmap) + nloads * sizeof(*seg);
loadmap = kmalloc(size, GFP_KERNEL);
loadmap = kzalloc(size, GFP_KERNEL);
if (!loadmap)
return -ENOMEM;

params->loadmap = loadmap;
memset(loadmap, 0, size);

loadmap->version = ELF32_FDPIC_LOADMAP_VERSION;
loadmap->nsegs = nloads;
Expand Down

0 comments on commit 46a4ead

Please sign in to comment.