freebsd-dev/sys
Toomas Soome c7bf8909b1 loader: possible NULL pointer dereference in efipart.c
Fix bugs found by Coverity in efipart.c.

The Issue is that efi_devpath_last_node() can return NULL pointer, and
therefore we should check for it. In real life we really do not
expect to see it to happen, so we will just error out from the test.

CID:		1371004
Reported by:	Coverity
Reviewed by:	allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D9490
2017-02-08 15:52:09 +00:00
..
amd64 Regen after r313284. 2017-02-05 14:19:19 +00:00
arm Rename timer.c to a10_timer.c 2017-02-07 19:28:32 +00:00
arm64 Push reading of ESR_EL1 to assembly. Among other uses this will allow us 2017-02-07 18:19:11 +00:00
boot loader: possible NULL pointer dereference in efipart.c 2017-02-08 15:52:09 +00:00
bsm
cam Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
cddl Fix the ifdef protection and remove superfluous extern statements 2017-02-07 01:21:18 +00:00
compat Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), 2017-02-06 20:57:12 +00:00
conf [iwm] back this out to version 16 for now. 2017-02-08 07:07:23 +00:00
contrib [iwm] add this 3 megabyte firmware image. 2017-02-08 07:03:09 +00:00
crypto Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ddb Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
dev [iwm] Remove 1s delay after fw loading. Can't reproduce issues on AC8260. 2017-02-08 07:09:10 +00:00
fs Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
gdb
geom Defer startup of gjournal switcher kproc. 2017-02-07 22:45:59 +00:00
gnu
i386 Regen after r313284. 2017-02-05 14:19:19 +00:00
isa Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
kern Copy the e_machine and e_flags fields from the binary into an ELF core dump. 2017-02-07 20:34:03 +00:00
kgssapi
libkern calculate_crc32c: Add SSE4.2 implementation on x86 2017-01-31 03:26:32 +00:00
mips Use 64bit store instruction in atomic_fcmpset_64. 2017-02-06 14:00:28 +00:00
modules [iwm] back this out to version 16 for now. 2017-02-08 07:07:23 +00:00
net Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
net80211 [net80211] don't update quiet time counter values every probe request. 2017-02-03 06:04:06 +00:00
netgraph mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
netinet Fix garbage IP addresses in UDP log_in_vain messages 2017-02-07 18:57:57 +00:00
netinet6 Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
netipsec Merge projects/ipsec into head/. 2017-02-06 08:49:57 +00:00
netnatm
netpfil Fix typos in comments (returing -> returning) 2017-02-07 00:09:48 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
riscv Implement atomic_fcmpset_*() for RISC-V. 2017-02-05 00:32:12 +00:00
rpc
security
sparc64 Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
sys Copy the e_machine and e_flags fields from the binary into an ELF core dump. 2017-02-07 20:34:03 +00:00
teken
tests
tools Replace using of objdump with elfdump 2017-01-10 18:46:40 +00:00
ufs ffs_vnops: Simplify extattr access 2017-01-19 16:46:05 +00:00
vm Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), 2017-02-06 20:57:12 +00:00
x86 Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
xdr
xen "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00