1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/missing
Yusuke Endoh cb14c4a535 missing/setproctitle.c: remove nonsense NULL check
If fmt is NULL, ptitle is uninitialized and used.
SETPROCTITLE(3bsd) says "If fmt is NULL, the process title is restored",
but looks like the feature is not implemented in missing/setproctitle.c.
At least the source code of ruby does not pass NULL to the function.
So I assume this function requires non-NULL fmt.

This issue was found by Coverity Scan.
2019-10-12 21:14:20 +09:00
..
acosh.c
alloca.c
cbrt.c
close.c
crt_externs.h
crypt.c
crypt.h
des_tables.c
dtoa.c
dup2.c
erf.c
explicit_bzero.c NetBSD native support of explicit_bzero's like feature (#2145) 2019-08-17 14:17:30 +09:00
ffs.c
file.h
fileblocks.c
finite.c
flock.c
hypot.c
isinf.c
isnan.c
langinfo.c
lgamma_r.c
memcmp.c missing/memcmp.c: suppress a -Wparentheses warning 2019-08-19 14:43:55 +09:00
memmove.c
mt19937.c Split mt19937.c 2019-02-07 08:53:12 +00:00
nan.c
nextafter.c
procstat_vm.c Split procstat_vm.c 2019-02-07 08:53:13 +00:00
setproctitle.c missing/setproctitle.c: remove nonsense NULL check 2019-10-12 21:14:20 +09:00
signbit.c
stdbool.h
strchr.c
strerror.c
strlcat.c
strlcpy.c
strstr.c
tgamma.c
x86_64-chkstk.s