1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bignum.c (bary_mul_precheck): fix a copy-paste error.

Coverity Scan found this bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2014-02-21 16:23:58 +00:00
parent e1ca988a0a
commit f67e09c7fd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 22 01:22:24 2014 Yusuke Endoh <mame@tsg.ne.jp>
* bignum.c (bary_mul_precheck): fix a copy-paste error.
Coverity Scan found this bug.
Sat Feb 22 00:58:51 2014 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* ext/socket/raddrinfo.c (rb_getaddrinfo): second argument of

View file

@ -2363,7 +2363,7 @@ bary_mul_precheck(BDIGIT **zdsp, size_t *znp, const BDIGIT **xdsp, size_t *xnp,
}
else {
do {
if (xds[0] != 0)
if (yds[0] != 0)
break;
yds++;
yn--;