mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Steve G <linux_4ever@yahoo.com>
Cc: linux-kernel@vger.kernel.org, lorenzo@gnu.org
Subject: Re: [PATCH] Trusted Path Execution LSM 0.2 (20050108)
Date: Tue, 11 Jan 2005 12:33:20 -0800	[thread overview]
Message-ID: <20050111123320.S469@build.pdx.osdl.net> (raw)
In-Reply-To: <20050111195542.76809.qmail@web50605.mail.yahoo.com>; from linux_4ever@yahoo.com on Tue, Jan 11, 2005 at 11:55:41AM -0800

* Steve G (linux_4ever@yahoo.com) wrote:
> 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;

Helps to inform the author ;-)

-chris

  reply	other threads:[~2005-01-11 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-11 19:55 Steve G
2005-01-11 20:33 ` Chris Wright [this message]
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=20050111123320.S469@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux_4ever@yahoo.com \
    --cc=lorenzo@gnu.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®