From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8be18979db11f51c X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,fb631c9316319fef X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-03-01 10:56:14 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.mesh.ad.jp!sjc-peer.news.verio.net!news.verio.net!sea-read.news.verio.net.POSTED!not-for-mail From: "Nikita V. Belenki" Newsgroups: comp.os.vms,comp.sys.dec References: <87n1baae6s.fsf@prep.synonet.com> <97bm3a$7tv@gap.cco.caltech.edu> <3A99AED0.5DF07890@infopuls.com> <97cd06$hcn$1@pyrite.mv.net> <97egck$vc6$3@info.cs.uofs.edu> <3A9AEFCD.AFC8431@infopuls.com> <97etsu$j41$1@pyrite.mv.net> <3A9B023A.CBD414A5@infopuls.com> <97Organization: Encompasserve Subject: Re: Drop C/C++ better sooner than later X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: Date: Thu, 01 Mar 2001 18:53:01 GMT NNTP-Posting-Host: 204.247.102.46 X-Complaints-To: abuse@verio.net X-Trace: sea-read.news.verio.net 983472781 204.247.102.46 (Thu, 01 Mar 2001 18:53:01 GMT) NNTP-Posting-Date: Thu, 01 Mar 2001 18:53:01 GMT Organization: Verio Xref: supernews.google.com comp.os.vms:20741 comp.sys.dec:2981 "Bob Koehler" wrote in message news:Y$aqbQdRtYFw@eisner.encompasserve.org... > The following simple little C program has a security hole a mile > wide in it. > I know I could plug the hole. I also know a lot of C programmers who > can't see the hole and have no idea that it's there. I don't think you should call them "programmers". > I know I could massage this to get through a C++ compiler, so this > critisism also applies to C++. Sure. But why don't you use std::string? It is much easier to program with it. > I know I need a lot of technical information to take advantage of the > hole. > Most importantantly I know of no other language in which this is so > easy to do, or so hard to see. Which is the point. Why? *I* can easily put a security hole into the program in almost any language ;) Kit.