From: Steve G <linux_4ever@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Trusted Path Execution LSM 0.2 (20050108)
Date: Tue, 11 Jan 2005 11:55:41 -0800 (PST) [thread overview]
Message-ID: <20050111195542.76809.qmail@web50605.mail.yahoo.com> (raw)
This patch leaks memory in the error paths. For example:
+static ssize_t trustedlistadd_read_file(struct tpe_list *list, char *buf)
+{
<snip>
+ char *buffer = kmalloc(400, GFP_KERNEL);
+
+ user = (char *)__get_free_page(GFP_KERNEL);
+ if (!user)
+ return -ENOMEM;
There's several of these.
-Steve Grubb
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
next reply other threads:[~2005-01-11 19:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 19:55 Steve G [this message]
2005-01-11 20:33 ` Chris Wright
2005-01-11 21:11 ` Lorenzo Hernández García-Hierro
-- strict thread matches above, loose matches on Subject: below --
2005-01-08 18:15 Lorenzo Hernández García-Hierro
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=20050111195542.76809.qmail@web50605.mail.yahoo.com \
--to=linux_4ever@yahoo.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®