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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,99f400c19b6942c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr17938000pbc.0.1340745750093; Tue, 26 Jun 2012 14:22:30 -0700 (PDT) Path: l9ni23322pbj.0!nntp.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Watch out Ada, here comes the new and "safe" C language Date: Tue, 26 Jun 2012 17:22:29 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1340745749 12547 192.74.137.71 (26 Jun 2012 21:22:29 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 26 Jun 2012 21:22:29 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:hJiEXCq7BcGaw9MW1jWDfeBq7fA= Content-Type: text/plain; charset=us-ascii Date: 2012-06-26T17:22:29-04:00 List-Id: Dennis Lee Bieber writes: > "Aiming" is the key word... According to the blog, the unsafe string > manipulation functions are still part of the standard -- making it a > matter of programmer discipline to avoid using them in favor of the > newer "safer" routines. Yeah, but it's worse than that. Compiler warnings could remind people to use the "safer" versions, but the "safer" routines aren't really safe, because the programmer is responsible for keeping track of the array length, and passing it in calls. - Bob