diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-19 13:38:47 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-19 13:38:47 +0000 |
| commit | c87ff425a9a58e8178b735da4156739591400969 (patch) | |
| tree | 03ff78186e232d0e50054e37188c8ce75fd78587 /eval.c | |
| parent | dd27218739bc804659f8e761f22c462a96a37313 (diff) | |
| download | ruby-c87ff425a9a58e8178b735da4156739591400969.tar.gz ruby-c87ff425a9a58e8178b735da4156739591400969.tar.xz ruby-c87ff425a9a58e8178b735da4156739591400969.zip | |
* eval.c (assign): avoid SEGV at multiple attribute assignment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
| -rw-r--r-- | eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4085,6 +4085,7 @@ assign(self, lhs, val, pcall) break; case NODE_CALL: + case NODE_ATTRASGN: { VALUE recv; recv = rb_eval(self, lhs->nd_recv); |
