aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-15 00:27:20 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-15 00:27:20 +0000
commitf46a43fc58b945c44a726eea66b2cc8a55786b47 (patch)
tree470a9fe1b2b8fe8c85719fa9c7cf625d4bf88a06 /lib/net
parent30dcac049436eb662b6b915c5a5c8978e0aee462 (diff)
downloadruby-f46a43fc58b945c44a726eea66b2cc8a55786b47.tar.gz
st.c: fix crashes on huge hash tables
From: Vladimir Makarov <vmakarov@redhat.com> By Vladimir's estimation, this requires at least 64 GB of memory to reproduce this bug due to the hash sizes required. So there is no new test case (and I am unable to test it, myself). * st.c (get_bins_num): avoid out-of-bounds on shift by using correct type [ruby-core:78139] [Bug #12939] * st.c (get_allocated_entries): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
0 files changed, 0 insertions, 0 deletions