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: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-12-22 10:58:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin3.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "Bill Todd" Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C1ED472.7040102@qsl.network> <9vnh67$cct$1@bob.news.rcn.net> <3C23EA72.48874137@gce.com> Subject: Re: Congratulations for the festive season Organization: maybe X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <8J4V7.301892$uB.32180084@bin3.nnrp.aus1.giganews.com> NNTP-Posting-Date: Sat, 22 Dec 2001 12:58:12 CST X-Trace: sv3-Ft4cd+GNqgX2kYyEnNeGjy1GhOxFzR7vGYMVgHcr7Biy6zd+Hn5NmSX41cto8fPF6v8Z6Ul7S937kWF!HhzFSuIFdae5t+ncOXaw6+Y6+ZDz3cxyV+n0x/eQgQbFm7THY+qJlvij8tNrNFKOHK2UOkYuOaHP!mBwyeG10BXnZa/rb+p31Rls= X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sat, 22 Dec 2001 18:58:12 GMT Xref: archiver1.google.com comp.os.vms:56833 alt.sys.pdp10:8643 comp.sys.dec:10184 "Dave Cherkus" wrote in message news:Xns917F79F8FAADidtoken@199.125.85.9... > gce wrote in news:3C23EA72.48874137@gce.com: > > Not so. > > The reason for the lack of buffer overflows is due to a number of > > factors. One: VMS habitually has used descriptors to pass strings, > > which have sizes passed. > > Interesting. > > Was this true in the PDP11 operating systems? Certainly on RSX, though RSTS may have had greater affection for ASCIZ strings. Where they could be used safely (and efficiently, which was not always the case), they did have advantages. Byte-by-byte processing is at least as efficient when dealing with a short string as the set-up involved in trying to process it word-by-word, and condition codes make the loop-termination check close to free (and without requiring the use of a counting register, a resource which the 11 did not have in great profusion). - bill