From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-21 18:23:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.shore.net!Ives.egh.com!JOHN Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec From: John Santos Subject: Re: Congratulations for the festive season In-Reply-To: Message-ID: <1011221211958.59837A-100000@Ives.egh.com> References: <1011221190540.59837B-100000@Ives.egh.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Fri, 21 Dec 2001 21:24:02 -0500 NNTP-Posting-Host: 209.192.204.112 X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 1008987785 209.192.204.112 (Fri, 21 Dec 2001 21:23:05 EST) NNTP-Posting-Date: Fri, 21 Dec 2001 21:23:05 EST Organization: Shore.Net, a PRIMUS Company (info@shore.net) Xref: archiver1.google.com comp.os.vms:56723 alt.sys.pdp10:8584 comp.sys.dec:10113 On Fri, 21 Dec 2001, Mark Crispin wrote: > On Fri, 21 Dec 2001, John Santos wrote: > > This turns out not to be the case. Most VMS languages use counted > > strings and the OTS routines that do string copies that check the > > counts when copying to fixed-length buffers, and truncate and/or > > warn you (but never, ever write past the end of the destination.) > > Truncate??? > > Oh dear, oh my. There's a whole class of attacks relating to truncation. > I guess you don't understand the difference between attempting to copy a long string of your own (the programmer's) choosing into too small a buffer (program bug) and copying a long string of some external user's choosing into too small a buffer (attempted buffer overflow expoit defeated.) Or are you just pretending to be stupid? > -- Mark -- > > http://staff.washington.edu/mrc > Science does not emerge from voting, party politics, or public debate. > > > -- John Santos Evans Griffiths & Hart, Inc. 781-861-0670 ext 539