1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-01-05 15:24:13 +00:00
parent 7d10fe689c
commit 39711489a4
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sat Jan 6 00:17:18 2001 WATANABE Hirofumi <eban@ruby-lang.org>
* pack.c (pack_pack): avoid infinite loop(pack 'm2').
Sat Dec 30 03:14:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_iterate): NODE_CFUNC does not protect its data

2
pack.c
View file

@ -826,7 +826,7 @@ pack_pack(ary, fmt)
case 'm':
ptr = rb_str2cstr(NEXTFROM, &plen);
if (len <= 1)
if (len <= 2)
len = 45;
else
len = len / 3 * 3;