[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201112272256.39617.oliver@neukum.org>
Date: Tue, 27 Dec 2011 22:56:39 +0100
From: Oliver Neukum <oliver@...kum.org>
To: Julia Lawall <julia@...u.dk>
Cc: Oliver Neukum <oliver@...kum.name>,
kernel-janitors@...r.kernel.org,
"Greg Kroah-Hartman" <gregkh@...e.de>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/usb/class/cdc-acm.c: clear dangling pointer
Am Freitag, 23. Dezember 2011, 14:02:55 schrieb Julia Lawall:
> From: Julia Lawall <julia@...u.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@...u.dk>
Acked-by: Oliver NEukum <oneukum@...e.de>
This is in principle oopsable and should go into stable.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists