summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2024-08-21 14:32:42 -0700
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2024-08-22 11:20:47 +0900
commitae886e0c83c0e3a3c838f48fb91efe253c027c6d (patch)
tree01eefc1905e5fcf4742c16f5ff1782f13395ccfe /test/ruby
parent8999fd1ac84b01bc7a0a698791f10efb2b1d3b18 (diff)
Check getlogin return value before passing to strcasecmp
getlogin can return NULL, and this can avoid a segfault in that case. Mentioned as an issue in comment to bug 20586.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11427
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions