diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 02:25:22 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-28 02:25:22 +0000 |
| commit | ac525f596ccff3a4c0bc303584aa669867ca4fea (patch) | |
| tree | 4f59d6824423b26a6f104c8d45b8e873870574b2 | |
| parent | aeb3ba1e58c6bc07d05f626d9d12769b822cb4a8 (diff) | |
merges r30597 from trunk into ruby_1_9_2.
--
* parse.y: avoid NULL reference. [ruby-dev:43067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | parse.y | 1 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jan 18 23:31:01 2011 Yusuke Endoh <mame@tsg.ne.jp> + + * parse.y: avoid NULL reference. [ruby-dev:43067] + Wed Jan 19 02:54:04 2011 NARUSE, Yui <naruse@ruby-lang.org> * vsnprintf.c (cvt): set first byte of buf to NUL for the case when @@ -8652,6 +8652,7 @@ assign_in_cond(struct parser_params *parser, NODE *node) return 0; } + if (!node->nd_value) return 1; switch (nd_type(node->nd_value)) { case NODE_LIT: case NODE_STR: @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 166 +#define RUBY_PATCHLEVEL 167 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
