mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h (struct RString): size of ary must be
RSTRING_EMBED_LEN_MAX + 1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c30bc4cca
commit
84fd4181fc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jul 31 13:18:30 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* include/ruby/ruby.h (struct RString): size of ary must be
|
||||||
|
RSTRING_EMBED_LEN_MAX + 1.
|
||||||
|
|
||||||
Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jul 31 12:23:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* pack.c (pack_unpack): upper half of hexdigits has never been used.
|
* pack.c (pack_unpack): upper half of hexdigits has never been used.
|
||||||
|
|
|
@ -515,7 +515,7 @@ struct RString {
|
||||||
VALUE shared;
|
VALUE shared;
|
||||||
} aux;
|
} aux;
|
||||||
} heap;
|
} heap;
|
||||||
char ary[RSTRING_EMBED_LEN_MAX];
|
char ary[RSTRING_EMBED_LEN_MAX + 1];
|
||||||
} as;
|
} as;
|
||||||
};
|
};
|
||||||
#define RSTRING_NOEMBED FL_USER1
|
#define RSTRING_NOEMBED FL_USER1
|
||||||
|
|
Loading…
Add table
Reference in a new issue