From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107f24,582dff0b3f065a52 X-Google-Attributes: gid107f24,public X-Google-Thread: 109fba,582dff0b3f065a52 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,582dff0b3f065a52 X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 2001-08-01 12:23:48 PST Path: archiver1.google.com!news2.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!farviolet.com!not-for-mail From: entropy@farviolet.com (Lawrence Foard) Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.functional Subject: Re: How Ada could have prevented the Red Code distributed denial of service attack. Date: 1 Aug 2001 11:44:15 -0700 Organization: A poorly-installed InterNetNews site Message-ID: <9k9ilv$jds$1@farviolet.com> References: <3B672322.B5EA1B66@home.com> X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:10977 comp.lang.c:71351 comp.lang.c++:79134 comp.lang.functional:7095 Date: 2001-08-01T11:44:15-07:00 List-Id: In article , Daniel Fischer wrote: >> The buffer overflow occurs because of an old and well known bug in the C >> libraries. What does this have to do with C++? Any decent C++ programmer is using std::string instead of char *. >> Using Ada or another modern language like Ocaml or Mozart could have >> prevented this, thus stopping the worm before it infected the very first >> IIS server. > ~~~ Or use of the features of a modern language like C++. Why restrict yourself to obscure academic languages when a freely available and widely used language does what you need? The irony is that this problem starts in CS departments where kids are still taught to use 'char *' instead of a string class. -- >> Cold blooded attack on civilians - http://italia.indymedia.org << Rave: Immanentization of the Eschaton in a Temporary Autonomous Zone. Real world computer problems solved without expensive buzzwords- My consulting resume http://www.farviolet.com/~entropy/resume2001.txt