From: Oliver Neukum <oliver@neukum.org>
To: Julia Lawall <julia@diku.dk>
Cc: Oliver Neukum <oliver@neukum.name>,
kernel-janitors@vger.kernel.org,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/usb/class/cdc-acm.c: clear dangling pointer
Date: Tue, 27 Dec 2011 21:56:39 +0000 [thread overview]
Message-ID: <201112272256.39617.oliver@neukum.org> (raw)
In-Reply-To: <1324645375-3535-1-git-send-email-julia@diku.dk>
Am Freitag, 23. Dezember 2011, 14:02:55 schrieb Julia Lawall:
> From: Julia Lawall <julia@diku.dk>
>
> On some failures, the country_code field of an acm structure is freed
> without freeing the acm structure itself. Elsewhere, operations including
> memcpy and kfree are performed on the country_code field. The patch sets
> the country_code field to NULL when it is freed, and likewise sets the
> country_code_size field to 0.
>
> Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Oliver NEukum <oneukum@suse.de>
This is in principle oopsable and should go into stable.
Regards
Oliver
prev parent reply other threads:[~2011-12-27 21:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-23 13:02 [PATCH] drivers/usb/class/cdc-acm.c: clear dangling pointer Julia Lawall
2011-12-27 21:56 ` Oliver Neukum [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=201112272256.39617.oliver@neukum.org \
--to=oliver@neukum.org \
--cc=gregkh@suse.de \
--cc=julia@diku.dk \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.name \
/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