hackers  

[freeipdb-hackers] Re: ipdb_ck.pl DANGEROUS

Anthony DeRobertis
Tue, 30 Sep 2003 14:30:02 -0700

On Tuesday, Sep 30, 2003, at 16:39 US/Eastern, Anthony DeRobertis wrote:

[ Note: for some reason, I'm not seeing it loop [ while($changes) ] as it should after inserting these lines. Naturally, it works just fine when you run ddd on it. Suspect perl bug. ]

I take that back. There is no perl bug, instead there is a relatively harmless race condition in ipdb_ck: The hold-time on the cleared blocks is set to now+1, but the while loop executes in less than 1 second. Oh well. "sleep(1)" would fix this, or, better, just set the holdtime to now instead.


[resend; damn closed list]