public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: trenn@suse.de
Cc: linux-acpi <linux-acpi@vger.kernel.org>,
	"Zhang, Rui" <rui.zhang@intel.com>,
	ming.m.lin@intel.com
Subject: Re: [PATCH 1/3] [2.6.25-rc5] Fix a memory overflow bug when copying NULL internal package element object to external.
Date: Tue, 11 Mar 2008 23:53:20 -0400	[thread overview]
Message-ID: <200803112353.20659.lenb@kernel.org> (raw)
In-Reply-To: <1205280376.8194.44.camel@linux-2bdv.site>

this one is already in via bugzilla 10132.

thanks,
-Len

On Tuesday 11 March 2008, Thomas Renninger wrote:
> From: Lin Ming <ming.m.lin@intel.com>
> 
> Fix a memory overflow bug when copying
> NULL internal package element object to external.
> 
> Signed-off-by: Lin Ming <ming.m.lin@intel.com>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> Tested-by: Thomas Renninger <trenn@suse.de>
> 
> ---
>  drivers/acpi/utilities/utobject.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6/drivers/acpi/utilities/utobject.c
> ===================================================================
> --- linux-2.6.orig/drivers/acpi/utilities/utobject.c
> +++ linux-2.6/drivers/acpi/utilities/utobject.c
> @@ -432,7 +432,7 @@ acpi_ut_get_simple_object_size(union acp
>  	 * element -- which is legal)
>  	 */
>  	if (!internal_object) {
> -		*obj_length = 0;
> +		*obj_length = sizeof(union acpi_object);
>  		return_ACPI_STATUS(AE_OK);
>  	}
>  
> 
> 
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2008-03-12  3:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12  0:06 [PATCH 1/3] [2.6.25-rc5] Fix a memory overflow bug when copying NULL internal package element object to external Thomas Renninger
2008-03-12  3:53 ` Len Brown [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=200803112353.20659.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=ming.m.lin@intel.com \
    --cc=rui.zhang@intel.com \
    --cc=trenn@suse.de \
    /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