glibc/misc
Alejandro Colomar 53fcdf5f74 Silence most -Wzero-as-null-pointer-constant diagnostics
Replace 0 by NULL and {0} by {}.

Omit a few cases that aren't so trivial to fix.

Link: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059>
Link: <https://software.codidact.com/posts/292718/292759#answer-292759>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-11-25 16:45:59 -03:00
..
bits syslog: Improve fortify with clang 2024-02-27 10:52:59 -03:00
sys socket: Use may_alias on sockaddr structs (bug 19622) 2024-05-18 09:33:19 +02:00
tst-syslog-long-progname.root syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6246) 2024-01-30 15:53:37 +01:00
Makefile misc: Link tst-mkstemp-fuse-parallel with $(shared-thread-library) 2024-09-24 13:05:52 +02:00
Versions
acct.c
allocate_once.c
ar.h
atomic_wide_counter.c
brk.c
bug-hsearch1.c
bug18240.c
chflags.c
chroot.c
daemon.c
dirname.c
efgcvt-dbl-macros.h
efgcvt-ldbl-macros.h
efgcvt-template.c
efgcvt.c
efgcvt_r-template.c
efgcvt_r.c
err.c
err.h
error.c misc: remove extra va_end in error_tail (bug 32233) 2024-11-20 14:05:52 +01:00
error.h
fchflags.c
fd_to_filename.c
fdatasync.c
fgetxattr.c
flistxattr.c
fremovexattr.c
fsetxattr.c
fstab.c
fstab.h
fsync.c
ftruncate.c
ftruncate64.c
futimes.c
futimesat.c
getauxval.c
getclktck.c
getdomain.c
getdtsz.c
gethostid.c
gethostname.c
getloadavg.c
getpagesize.c
getpass.c
getsysstats.c
getttyent.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
getusershell.c
getxattr.c
gtty.c
hsearch.c
hsearch_r.c
ifunc-impl-list.c
init-misc.c
insremque.c
ioctl.c
lgetxattr.c
libgen.h
listxattr.c
llistxattr.c
lremovexattr.c
lsearch.c
lsetxattr.c
lutimes.c
madvise.c
makedev.c
mincore.c
mkdtemp.c
mkostemp.c
mkostemp64.c
mkostemps.c
mkostemps64.c
mkstemp.c
mkstemp64.c
mkstemps.c
mkstemps64.c
mktemp.c
mlock.c
mlockall.c
mmap.c
mmap64.c
mntent.c
mntent.h
mntent_r.c
mprotect.c
msync.c
munlock.c
munlockall.c
munmap.c
preadv.c
preadv2.c
preadv64.c
preadv64v2.c
pselect.c
ptrace.c
pwritev.c
pwritev2.c
pwritev64.c
pwritev64v2.c
qefgcvt.c
qefgcvt_r.c
readv.c
reboot.c
regexp.c
regexp.h
remap_file_pages.c
removexattr.c
revoke.c
sbrk.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
search.h
select.c
setdomain.c
setegid.c
seteuid.c
sethostid.c
sethostname.c
setregid.c
setreuid.c
setxattr.c
sgtty.h
single_threaded.c
sstk.c
stab.h
stty.c
swapoff.c
swapon.c
sync.c
syncfs.c
syscall.c
syscall.h
sysexits.h
syslog.c syslog: Fix integer overflow in __vsyslog_internal (CVE-2023-6780) 2024-01-30 15:53:37 +01:00
syslog.h
truncate.c
truncate64.c
tsearch.c
tst-allocate_once.c
tst-atomic-long.c
tst-atomic.c
tst-dbl-efgcvt.c
tst-dirname.c
tst-efgcvt-template.c
tst-empty.c
tst-error1.c
tst-fd_to_filename.c
tst-fdset.c
tst-gethostid.c
tst-hsearch.c
tst-insremque.c
tst-ioctl-time64.c
tst-ioctl.c
tst-ldbl-efgcvt.c
tst-ldbl-error.c
tst-ldbl-errorfptr.c
tst-ldbl-warn.c
tst-makedev.c
tst-mkstemp-fuse-parallel.c misc: FUSE-based tests for mkstemp 2024-09-21 19:25:35 +02:00
tst-mkstemp-fuse.c misc: FUSE-based tests for mkstemp 2024-09-21 19:25:35 +02:00
tst-mntent-autofs.c
tst-mntent-blank-corrupt.c
tst-mntent-blank-passno.c
tst-mntent-escape.c
tst-mntent.c
tst-mntent2.c
tst-mremap1.c Add mremap tests 2024-08-01 05:06:12 -07:00
tst-mremap2.c Add mremap tests 2024-08-01 05:06:12 -07:00
tst-preadvwritev-common.c
tst-preadvwritev.c
tst-preadvwritev2-common.c misc: Add support for Linux uio.h RWF_ATOMIC flag 2024-10-10 10:28:01 -03:00
tst-preadvwritev2.c
tst-preadvwritev64.c
tst-preadvwritev64v2.c
tst-pselect-time64.c
tst-pselect.c
tst-select-time64.c
tst-select.c
tst-syscalls.c
tst-syslog-long-progname.c syslog: Fix heap buffer overflow in __vsyslog_internal (CVE-2023-6246) 2024-01-30 15:53:37 +01:00
tst-syslog.c
tst-tsearch.c
tst-warn-wide.c
ttyent.h
ttyslot.c
ualarm.c
unwind-link.c
usleep.c
ustat.c
utimes.c
vhangup.c
writev.c