public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@gmail.com>
To: youssef@ece.utexas.edu
Cc: linux-kernel@vger.kernel.org, toshiba_acpi@memebeam.org
Subject: Re: [PATCH][ACPI] toshiba_acpi.c: add check for NULL pointer
Date: Thu, 4 Aug 2005 09:39:25 +0300	[thread overview]
Message-ID: <84144f020508032339565658a0@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0508040048190.14176@linux08.ece.utexas.edu>

On 8/4/05, Hmamouche, Youssef <youssef@ece.utexas.edu> wrote:
> --- a/drivers/acpi/toshiba_acpi.c       2005-07-15 14:18:57.000000000 -0700
> +++ b/drivers/acpi/toshiba_acpi.c       2005-08-03 21:35:12.000000000 -0700
> @@ -263,6 +263,9 @@
>           * destination so that sscanf can be used on it safely.
>           */
>          tmp_buffer = kmalloc(count + 1, GFP_KERNEL);
> +       if(tmp_buffer == NULL) {
> +               return -ENOMEM;
> +       }

Already fixed in 2.6.13-rc4-mm1.

                                  Pekka

      reply	other threads:[~2005-08-04  6:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-04  6:08 [PATCH][ACPI] toshiba_acpi.c: add check for NULL pointer Hmamouche, Youssef
2005-08-04  6:39 ` Pekka Enberg [this message]

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=84144f020508032339565658a0@mail.gmail.com \
    --to=penberg@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=toshiba_acpi@memebeam.org \
    --cc=youssef@ece.utexas.edu \
    /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