summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-02 06:30:18 (GMT)
committerrhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-02 06:30:18 (GMT)
commitfe6615b31de428c80ca23ba997a5640a41bca237 (patch)
tree56c62dfe5b8dd2a37fd11a1c92c17a91c338bd7a /debug.c
parentf35fb6d36c3218988b17dbeb4412922c23745f0e (diff)
bignum.c: avoid use of uninitialized value in Integer.sqrt
This is a follow-up fix to r57713. estimate_initial_sqrt() didn't initialize BDIGITs except the topmost two, letting Integer.sqrt return wrong result in the fast path, such as for (1<<504). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions