Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Issue 6813077: USB: cdc-acm: fix potential null-pointer dereference on disconnect (Closed)

Created:
9 years, 8 months ago by Vincent Palatin
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Jason Glasgow
Visibility:
Public.

Description

USB: cdc-acm: fix potential null-pointer dereference on disconnect Fix potential null-pointer exception on disconnect introduced by commit 11ea859d64b69a747d6b060b9ed1520eab1161fe (USB: additional power savings for cdc-acm devices that support remote wakeup). Only access acm->dev after making sure it is non-null in control urb completion handler. Cc: stable <stable@kernel.org>; Signed-off-by: Johan Hovold <jhovold@gmail.com>; Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>; BUG=chrome-os-partner:3143 TEST=run power_Resume test in tight loops on Alex. Signed-off-by: Vincent Palatin <vpalatin@chromium.org>; Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=bdfbe25

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M drivers/usb/class/cdc-acm.c View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Vincent Palatin
[3/5] try to fix the issues detected in the CDC ACM driver when running power_Resume ...
9 years, 8 months ago (2011-04-11 17:01:42 UTC) #1
Vincent Palatin
fixing Sonny's address
9 years, 8 months ago (2011-04-11 17:03:14 UTC) #2
Sonny
9 years, 8 months ago (2011-04-12 00:21:12 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698