mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 00:05:08 +00:00
![]() Problem: - If `fork()` fails the system tries to call `execl()`. That will either succeed and replace the running process image or it will fail and it needs to try again. The `if` is redundant because it will only be evaluated if `execl()` fails. Solution: - Remove the `if`. |
||
---|---|---|
.. | ||
bind-local-socket-to-symlink.cpp | ||
bxvga-mmap-kernel-into-userspace.cpp | ||
CMakeLists.txt | ||
crash-fcntl-invalid-cmd.cpp | ||
elf-execve-mmap-race.cpp | ||
elf-symbolication-kernel-read-exploit.cpp | ||
filesystem-strips-file-suid-sgid-bits-when-modified.cpp | ||
kill-pidtid-confusion.cpp | ||
mmap-write-into-running-programs-executable-file.cpp | ||
nanosleep-race-outbuf-munmap.cpp | ||
null-deref-close-during-select.cpp | ||
null-deref-crash-during-pthread_join.cpp | ||
path-resolution-race.cpp | ||
pledge-test-failures.cpp | ||
pthread-cond-timedwait-example.cpp | ||
setpgid-across-sessions-without-leader.cpp | ||
uaf-close-while-blocked-in-read.cpp | ||
unveil-test-failures.cpp |