[7829] in Athena Bugs

home help back first fref pref prev next nref lref last post

xolc memory + fd leak on error

daemon@ATHENA.MIT.EDU (John Carr)
Fri Jul 26 20:35:16 1991

To: testers@ATHENA.MIT.EDU
Date: Fri, 26 Jul 91 20:35:24 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>


I looked at the motif olc client help code and found a memory leak.
The function olc_help does not free memory it allocates if there is an
error reading the file, not does it close the help file descriptor
after a read error (including a short read).

The motd code has a similar bug.


home help back first fref pref prev next nref lref last post