Re: [PATCHv3] staging: Check for Null allocated skb in fw_download_code

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

 



On Tue, 12 Aug 2014 20:46:56 -0000, Jeff Haran said:
> While the avoidance of dereferencing NULL pointers in the kernel is a
> laudable goal, what will be the effect of the call to write_nic_byte() at the
> end of the function not happening should the call to dev_alloc_skb() return
> NULL?

Damn. I missed that one, good catch.

Attachment: pgp20KoU57fSr.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux