the patch I just applied mirrors the other loop in sh/nvtype.c

-                       while(nodes[i+1] && (cp=nodes[i+1]->nvname) && 
memcmp(cp,np->nvname,n)==0 && cp[n]=='.')
+                       while((i+1) < numnodes && (cp=nodes[i+1]->nvname) && 
memcmp(cp,np->nvname,n)==0 && cp[n]=='.')

On Thu, 18 Sep 2008 16:00:09 +0200 Dr. Werner Fink wrote:
> It seems that my patch opens an other `accessed memory outside the ksh'.

>   test pointtype.sh begins at 2008-09-18+11:16:47
>   shtests: line 91: 29619: Memory fault
>   test pointtype.sh failed at 2008-09-18+11:16:48 with exit code 267 [ 26 
> tests 267 errors ]

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to