🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #31591

Dangerous bug in Flex screensaver

#31591
From: Julian Vrieslander
Date: Sat, 27 Aug 1988 02:22
21 lines
1761 bytes
I recently discovered a rather serious side effect produced by the "Flex"
screen saver.  With *each* activation of the Flex display, a WindowRecord
is added to the WindowList of the currently running application.  Worse
yet, the WindowRecords are not disposed - repeated activations of Flex
result in additional dead WindowRecords in the list.

Each WindowRecord only eats up 156 bytes, so you would have to invoke
Flex quite a few times before the amount of wasted memory is significant.
What is more dangerous is that these WindowRecords could cause heap
fragmentation, or worse yet, break applications that scan the WindowList.

I have reported the problem to Ben Haller, the author of Flex (I posted it
to the network for him).  Until he comes up with a fixed version, I would
recommend not using Flex.  The (buggy) one that I tested was version 3.1.
Please do not send me mail requesting  a fixed version - write to Ben
at 32 Deerhaven Rd., Ithaca, NY 14853.
-- 
Julian Vrieslander     "Don't rush me... you'll get a rotten miracle."
Neurobiology & Behavior, W250 Mudd Hall, Cornell University, Ithaca NY 14853    
UUCP: {cmcl2,decvax,rochester,uw-beaver,ihnp4}!cornell!batcomputer!eacj
INTERNET: eacj@tcgould.tn.cornell.edu     BITNET: eacj@CRNLTHRY
Technical Details
Message-ID: <6130@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!eacj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!batcomputer!eacj
From: eacj@batcomputer.tn.cornell.edu (Julian Vrieslander)
Newsgroups: comp.sys.mac
Subject: Dangerous bug in Flex screensaver
Keywords: Flex, screensaver
Message-ID: <6130@batcomputer.tn.cornell.edu>
Date: 27 Aug 88 02:22:13 GMT
Reply-To: eacj@tcgould.tn.cornell.edu (Julian Vrieslander)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 21