serenity/Userland
howar6hill e352ee23e5 Userland: Fix nullptr dereference if we fail to open the PCIDB
In the code below, db could be null, and would cause UB.
Instead of crashing, let's simply skip symbolicating names.

Fixes #1247
2020-02-20 15:13:42 +01:00
..
al.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
allocate.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
aplay.cpp LibAudio/aplay: Handle WAV header errors properly 2020-02-10 14:04:27 +01:00
avol.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
basename.cpp basename: Use pledge() 2020-02-18 13:29:54 +01:00
cal.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
cat.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
chgrp.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
chmod.cpp chmod: Tweak usage string 2020-02-16 09:51:49 +01:00
chown.cpp AK: Add a forward declaration header 2020-02-14 23:31:18 +01:00
chroot.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
clear.cpp clear: Use pledge() 2020-02-18 11:35:47 +01:00
copy.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
cp.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
crash.cpp Userland: Use IO helpers from LibBareMetal 2020-02-09 19:38:17 +01:00
cut.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
date.cpp date: Use pledge() 2020-02-18 13:29:54 +01:00
df.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
disk_benchmark.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
dmesg.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
echo.cpp echo: Use pledge() 2020-02-18 11:35:47 +01:00
env.cpp env: Use pledge() 2020-02-18 13:29:54 +01:00
false.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
fgrep.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
flock.cpp Userland: Add a dummy passthrough "flock" program 2020-01-20 20:44:29 +01:00
gron.cpp gron: Use pledge() 2020-02-11 12:42:06 +01:00
head.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
host.cpp host: Use ArgsParser to parse arguments, and add man page (#1252) 2020-02-20 15:12:55 +01:00
hostname.cpp hostname: Use pledge() 2020-02-18 13:29:54 +01:00
html.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
id.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ifconfig.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
jp.cpp jp: Use pledge() 2020-02-11 12:16:07 +01:00
keymap.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
kill.cpp kill: Use pledge() 2020-02-18 13:29:54 +01:00
killall.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ln.cpp ln: Use pledge() 2020-02-18 13:29:54 +01:00
ls.cpp Userland: Use Core::DateTime 2020-02-11 20:43:29 +01:00
lspci.cpp Userland: Fix nullptr dereference if we fail to open the PCIDB 2020-02-20 15:13:42 +01:00
Makefile LibGfx: Rename from LibDraw :^) 2020-02-06 12:04:00 +01:00
man.cpp Man: Use ArgsParser to parse arguments 2020-02-18 12:23:15 +01:00
md.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
mkdir.cpp mkdir: Use pledge() 2020-02-18 11:35:47 +01:00
mknod.cpp mknod: Use pledge() 2020-01-27 21:38:36 +01:00
modload.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
modunload.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mon.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
more.cpp more: Read keystrokes from stdout instead of trying to re-open it 2020-02-08 15:50:00 +01:00
mount.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
munch.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
mv.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
nc.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
nl.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
notify.cpp NotificationServer: Add a system service for desktop notifications 2020-02-16 21:58:17 +01:00
pape.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
paste.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
pidof.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
ping.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
pro.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
profile.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ps.cpp ps: Use pledge() and unveil() 2020-02-18 11:35:47 +01:00
purge.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
realpath.cpp realpath: Use pledge() 2020-02-18 13:29:54 +01:00
reboot.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
rm.cpp rm: Use pledge() 2020-02-18 13:29:54 +01:00
rmdir.cpp rmdir: Use pledge() 2020-02-18 11:35:47 +01:00
rpcdump.cpp AK: Use size_t for ByteBuffer sizes 2020-02-20 13:20:34 +01:00
shutdown.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
sleep.cpp sleep: Use pledge() 2020-01-27 21:39:35 +01:00
sort.cpp sort: Use pledge() 2020-02-18 11:35:47 +01:00
stat.cpp stat: Use pledge() 2020-02-18 11:35:47 +01:00
strace.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
su.cpp Userland: Fix typos in setting user id 2020-02-14 23:30:22 +01:00
sync.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
syscall.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
sysctl.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
tail.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
tee.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
test_efault.cpp Kernel: Fail with EFAULT for any address+size that would wrap around 2020-01-29 12:56:07 +01:00
test_io.cpp Kernel: sys$readlink() should return the number of bytes written out 2020-01-27 21:50:51 +01:00
top.cpp top: Use pledge() and unveil() 2020-02-18 11:35:47 +01:00
touch.cpp touch: Use pledge() 2020-02-18 13:29:54 +01:00
tr.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
true.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
truncate.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
tt.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
tty.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
umount.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
uname.cpp uname: Use pledge() 2020-02-18 13:29:54 +01:00
uptime.cpp uptime: Use pledge() 2020-02-18 13:29:54 +01:00
useradd.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
userdel.cpp Userland: Add userdel program (#1217) 2020-02-19 12:59:09 +01:00
wc.cpp wc: Use pledge() 2020-02-18 11:35:47 +01:00
which.cpp which: Use pledge() 2020-02-18 11:35:47 +01:00
whoami.cpp whoami: Use pledge() and unveil() 2020-02-18 11:35:47 +01:00
yes.cpp yes: Use pledge() 2020-02-18 11:35:47 +01:00