Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.7.0.10 $; site convex Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!uiucdcs!convex!root From: root@convex.UUCP Newsgroups: net.bugs Subject: pic might deref a null pointer Message-ID: <33300003@convex> Date: Sun, 3-Nov-85 17:38:00 EST Article-I.D.: convex.33300003 Posted: Sun Nov 3 17:38:00 1985 Date-Received: Sun, 10-Nov-85 06:48:22 EST Lines: 16 Nf-ID: #N:convex:33300003:000:526 Nf-From: convex.UUCP!root Nov 3 16:38:00 1985 There appears to be a (day 1?) error in portability for pic (supplied in the ditroff distribution). When parsing attributes with no text, pic's yacc input says, ``No text, use a null pointer'' instead of ``No text, use a pointer to the null string''. OOPS. Look in picy.y for textattr appearing OUTSIDE of the attrlist stuff. It calls the function to make an attribute with a 0. Change it to make the attribute with "". I've run this for a while and it sure fixed a big problem with dereferencing null pointers. Rob