Patches item #593091, was opened at 2002-08-09 07:58
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=304593&aid=593091&group_id=4593
Category: stable
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Prevent htnotify from looping endlessly
Initial Comment:
On Solaris 8, with 3.0.4, I have the effect that
htnotify loops
apparently endlessly, eating more and more space.
I tracked it down to htnotify:: readPreAndPostamble()
reading unconfigured prefix and suffix files.
The returned value of config["htnotify_prefix_file"] and
config["htnotify_suffix_file"] is not NULL, but "",
so the loops while (! in.bad() && ! in.eof()) are
entered (why? I don't know. It shouldn't have
opened the "" files in the first place) and keeps
appending '\n' characters without finding an end.
The patch against 3.1.6 fixes that by checking
for "" in addition to NULL.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=304593&aid=593091&group_id=4593
|