ruby-changes:18574
From: mame <ko1@a...>
Date: Wed, 19 Jan 2011 03:17:39 +0900 (JST)
Subject: [ruby-changes:18574] Ruby:r30597 (trunk): * parse.y: avoid NULL reference.
mame 2011-01-19 03:17:29 +0900 (Wed, 19 Jan 2011) New Revision: 30597 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30597 Log: * parse.y: avoid NULL reference. [ruby-dev:43067] Modified files: trunk/ChangeLog trunk/parse.y Index: ChangeLog =================================================================== --- ChangeLog (revision 30596) +++ ChangeLog (revision 30597) @@ -1,3 +1,7 @@ +Tue Jan 18 23:31:01 2011 Yusuke Endoh <mame@t...> + + * parse.y: avoid NULL reference. [ruby-dev:43067] + Wed Jan 19 02:54:04 2011 NARUSE, Yui <naruse@r...> * vsnprintf.c (cvt): set first byte of buf to NUL for the case when Index: parse.y =================================================================== --- parse.y (revision 30596) +++ parse.y (revision 30597) @@ -8684,6 +8684,7 @@ return 0; } + if (!node->nd_value) return 1; switch (nd_type(node->nd_value)) { case NODE_LIT: case NODE_STR: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/