[6530] in Athena Bugs
rt 7.2C: ss library
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Dec 5 02:00:27 1990
Date: Wed, 5 Dec 90 02:00:05 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name: pit-manager
Type and version: RTPC-ROMPC 7.2C
Display type: apa16
megapel
What were you trying to do?
Use the ss_list_requests function in the ss library, when
my workstation was low on memory.
What's wrong:
The function doesn't check if ss_pager_create() succeeds, and
if it doesn't, tries to do an fdopen on an fd with the value
-1 and then tries to write to the resulting FILE *. Lose,
lose.
What should have happened:
If ss_pager_create() fails, ss_list_requests() should return
with an error.
Please describe any relevant documentation references:
/source/athena/athena.lib/ss/list_rqs.c.
jik