From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,7a4be55298037016 X-Google-Attributes: gid10952f,public X-Google-Thread: fee84,7a4be55298037016 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-20 04:21:35 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!agate!news.Stanford.EDU!nntp.stanford.edu!castor From: castor@drizzle.Stanford.EDU (Castor Fu) Newsgroups: comp.security.unix,comp.unix.osf.osf1 Subject: Re: Crack 4.1 for DEC OSF 3.0? Followup-To: comp.security.unix,comp.unix.osf.osf1 Date: 19 Sep 1994 17:18:01 GMT Organization: Stanford University Message-ID: References: <35k944$6fv@news-rocq.inria.fr> NNTP-Posting-Host: drizzle.stanford.edu In-reply-to: kern@pluto.inria.fr's message of 19 Sep 1994 15:01:24 GMT Xref: bga.com comp.security.unix:6727 comp.unix.osf.osf1:3610 I looked at crack 4.1. I haven't compiled it, but there is a clear bug in this routine. time_t in DEC OSF/1 is an int, not a long. This is probably the source of the problem. I wouldn't be surprised if changing t to a time_t would fix your problem. -castor p.s. If you had included , cc probably would have told you this. >>>>> "Michel" == Michel Kern writes: Michel> Grant Taylor (gtaylor@god.ext.tufts.edu) wrote: : I tried Michel> to run crack on our new 3.0 Alpha farm, and the darned Michel> thing : core dumps right off. Michel> : My fix, if anyone cares to know, was to comment out the Michel> printf of the : time() call in line 54 of crack-supp.c. Michel> My intuition tells me I just : won't know how long crack Michel> took... Michel> : -grant Michel> Had the same problem, and I changed the line: printf Michel> ("pwc: %-15.15s ", ctime (&t) + 4); to printf ("pwc: Michel> %-19.19s ", ctime (&t)); Michel> Seems to have fixed it, and I stiil get the time :) Michel> I also changed the Log function to use varargs, becasue I Michel> thought that was what was casung the crash. Seems not. Michel> BTW, this is under OSf 1.3 -- Castor Fu, (foo@leland.stanford.edu)