diff options
-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 |