RE: [PATCH 1/3] Staging: hv: Remove checks for NULL before calling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>> Bill Pemberton Wrote;
>>> Greg Wrote
>> > -	if (msgInfo) {
>> > -		kfree(msgInfo->WaitEvent);
>> > -		kfree(msgInfo);
>> > -	}
>> > +	kfree(msgInfo->WaitEvent);
>> 
>> If msgInfo was NULL, you just oopsed here :(
>> 
>
>Sorry about that, getting too aggressive on that.

I was just reviewing that part :) Thanks for catching it Greg.

You are going to resubmit Bill?

Thanks,

Hank.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux