Patch-ID# 100813-01 Keywords: memory leak yacc parser Synopsis: SunOS 4.1.1,4.1.2,4.1.3: Memory leak in parser generated by yacc Date: Dec/04/92 Solaris Release: SunOS Release: 4.1.1 4.1.2 4.1.3 4.1.3C Unbundled Product: Unbundled Release: Topic: memory leak in parser generated by yacc BugId's fixed with this patch: 1110191 Architectures for which this patch is available: sun4(all) Patches which may conflict with this patch: Obsoleted by: Files included with this patch: yacc yaccpar Problem Description: On SunOS 4.1.x, the parser generated by yacc allocates memory but does not free it. A compiler like cfront calls yyparse several times causing it to run out of memory. This problem did not exist with the yacc on SunOS 4.0. Patch Installation Instructions: -------------------------------- As root: cp /bin/yacc /bin/yacc.FCS cp /lib/yaccpar /lib/yaccpar.FCS cp ./yacc /bin/yacc cp ./yaccpar /bin/yaccpar chmod 755 /bin/yacc chmod 644 /bin/yaccpar NOTE: For the patch to work yaccpar must be installed in the same location as yacc. Special Install Instructions: ----------------------------- None.