From: Ken Thompson Date: Sat, 4 Jul 2009 20:59:08 +0000 (-0700) Subject: another seg fault X-Git-Tag: weekly.2009-11-06~1263 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6bb3c48d3d09d4e5a4dd4802bf8207c19f558cad;p=gostls13.git another seg fault R=r OCL=31156 CL=31156 --- diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index 6d102982cb..30c864df63 100644 --- a/src/cmd/gc/walk.c +++ b/src/cmd/gc/walk.c @@ -402,7 +402,8 @@ loop: break; case 1: - n->type = n->type->type->type; + if(n->type != T && n->type->type != T && n->type->type->type != T) + n->type = n->type->type->type; break; }