Commit 0bdd261f authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

USB: diag_bridge: Fix a possible freed memory access



The platform device is freed in disconnect.  Don't access pdev
in diag_bridge_delete() which gets called after disconnect. Store
pdev->id in the corresponding driver's private structure.

CRs-Fixed: 470151
Change-Id: I2d97b508f227d6ccc3a87e03481293fa1054bbbc
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 682e48fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment