Article View: comp.sys.amiga.tech
Article #4977UUCP 1.06 UUCICO BUG UNDER A3000's FOUND
From: Matthew Dillon
Date: Tue, 21 Aug 1990 23:05
Date: Tue, 21 Aug 1990 23:05
20 lines
1057 bytes
1057 bytes
Thanks to Marc Boucher for finding the bug! All stack declarations of
char cmnd[1]; should be turned into 'static char cmnd[256]'. The problem
turned out to be that the buffer was getting overrun because the person
who originally wrote the code was using a sscanf("%s" , cmnd) ... and
assumed the scanned string would be only one character long.
Those of you with a compiler can simply recompile uucico.c with the
appropriate changes. Those of you without one can wait for the update
to comp.binaries.amiga / comp.sources.amiga .
-Matt
--
Matthew Dillon dillon@Overload.Berkeley.CA.US
891 Regal Rd. uunet.uu.net!overload!dillon
Berkeley, Ca. 94708
USA
Technical Details
Message-ID:
<dillon.5594@overload.Berkeley.CA.US>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!overload!dillonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!overload!dillon From: dillon@overload.Berkeley.CA.US (Matthew Dillon) Newsgroups: comp.sys.amiga.tech Subject: UUCP 1.06 UUCICO BUG UNDER A3000's FOUND Message-ID: <dillon.5594@overload.Berkeley.CA.US> Date: 21 Aug 90 23:05:50 GMT Lines: 20