aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-12 21:10:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-12 21:14:20 +0900
commitcb14c4a535ca95bb87d47be284f447c9325733fd (patch)
tree8fde516312928c8afdc6a48bbd3d31e2189c3382 /include/ruby/ruby.h
parentf4055647115f2003ce614dd16cf68d2933f811fe (diff)
downloadruby-cb14c4a535ca95bb87d47be284f447c9325733fd.tar.gz
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.
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions