hidclass.sys: Initialize ext->irp_queue immediately after HID_CreateDevice

Aric Stewart aric at codeweavers.com
Fri Dec 18 06:49:32 CST 2015


Signed-off-by: Aric Stewart <aric at codeweavers.com>

On 12/18/15 12:47 AM, Changhui LIU wrote:
> The driver  use hidclass.sys will crashe when  minidriver->AddDevice fails,
> because  this moment HID_DeleteDevice() calls RemoveHeadList(&ext->irp_queue) before irp_queue is initialized.
> This patch fix the crashing.
> 
> 
> 
> 
> ------------------
> 
> 
> *武汉深之度科技有限公司*
> Wuhan Deepin Technology Co., Ltd.
> 
>   刘昌辉
> 
> 手机:1866 4588 256
> 
> 武汉:武汉市光谷大道77号光谷金融港B18栋6楼
> 北京:北京市海淀区知春路锦秋国际大厦B座501室
> 上海:上海市长宁区愚园路1258号15A01室
> 
> 官网:www.deepin.org <http://www.deepin.org/>  官博:深度操作系统 <http://weibo.com/linuxdeepinnew>
> 
> 
> 
> 



More information about the wine-patches mailing list