Thread View: net.bugs
1 messages
1 total messages
Started by root
Sun, 03 Nov 1985 22:38
pic might deref a null pointer
Author: root
Date: Sun, 03 Nov 1985 22:38
Date: Sun, 03 Nov 1985 22:38
16 lines
1113 bytes
1113 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads