lkml.org 
[lkml]   [2011]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] drivers/usb/class/cdc-acm.c: clear dangling pointer
Date
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


\
 
 \ /
  Last update: 2011-12-27 22:57    [W:0.084 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site