From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: ia32 execve memory leak
Date: Tue, 26 Aug 2003 20:43:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106193081007731@msgid-missing> (raw)
On Friday 22 August 2003 12:17 pm, Arun Sharma wrote:
> The attached patch by Tony Luck fixes a memory leak in the ia32 execve
> code path. Please apply to both 2.4 and 2.5.
I applied this for 2.4 as follows:
#### AUTHOR arun.sharma@intel.com
#### COMMENT START
### Comments for ChangeSet
ia64: fix memory leak in sys32_execve path
The attached patch by Tony Luck fixes a memory leak in the ia32 execve
code path. Please apply to both 2.4 and 2.5.
### Comments for arch/ia64/ia32/sys_ia32.c
(sys32_execve): Fix memory leak.
#### COMMENT END
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1094 -> 1.1095
# arch/ia64/ia32/sys_ia32.c 1.36 -> 1.37
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/08/26 bjorn.helgaas@hp.com 1.1095
# fix mem leak
# --------------------------------------------
#
diff -Nru a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c
--- a/arch/ia64/ia32/sys_ia32.c Tue Aug 26 16:10:58 2003
+++ b/arch/ia64/ia32/sys_ia32.c Tue Aug 26 16:10:58 2003
@@ -166,9 +166,9 @@
current->thread.map_base = old_map_base;
current->thread.task_size = old_task_size;
set_fs(USER_DS); /* establish new task-size as the address-limit */
- out:
- kfree(av);
}
+ out:
+ kfree(av);
return r;
}
reply other threads:[~2003-08-26 20:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106193081007731@msgid-missing \
--to=bjorn.helgaas@hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox