From 2e14b00246338e27cd9933b6d7092350666dde92 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 4 Jun 2010 14:14:55 -0700 Subject: [PATCH] --- yaml --- r: 199815 b: refs/heads/master c: 1da083c9b23dafd6bcb08dcfec443e66e90efff0 h: refs/heads/master i: 199813: 3e139e38a44fce4ed69051485cd4a241d512ca0d 199811: d5802af9d1ba63553af22c8fbcd567c45586e291 199807: 9646fd7a5f590fc9f4ac1b7253520636bc9c62cf v: v3 --- [refs] | 2 +- trunk/fs/binfmt_flat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f518e2ed6839..c63e434cae36 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2e94de8acbe524d919f1ea8807913d7b005e1578 +refs/heads/master: 1da083c9b23dafd6bcb08dcfec443e66e90efff0 diff --git a/trunk/fs/binfmt_flat.c b/trunk/fs/binfmt_flat.c index b8656225b34b..b6ab27ccf214 100644 --- a/trunk/fs/binfmt_flat.c +++ b/trunk/fs/binfmt_flat.c @@ -596,7 +596,7 @@ static int load_flat_file(struct linux_binprm * bprm, if (IS_ERR_VALUE(result)) { printk("Unable to read data+bss, errno %d\n", (int)-result); do_munmap(current->mm, textpos, text_len); - do_munmap(current->mm, realdatastart, data_len + extra); + do_munmap(current->mm, realdatastart, len); ret = result; goto err; }