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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6f7f027de64c6e60,start X-Google-Attributes: gid103376,public From: Rakesh Malhotra Subject: An interesting source of coding error Date: 1999/02/01 Message-ID: <795104$spj$1@news-1.news.gte.net>#1/1 X-Deja-AN: 439481002 Content-Transfer-Encoding: 7bit Organization: gte.net X-Accept-Language: en X-Auth: UNKNOWN@192.78.246.35 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-02-01T00:00:00+00:00 List-Id: I often read a newsgroup called comp.risks (very interesting info) and found the following text in the most recent posting of the risks digest. Thought some of you may find it interesting. Date: Thu, 28 Jan 1999 18:35:19 -0800 From: Fred Gilham Subject: Programming errors I am reminded again of how shaky the software world is. Someone has been making a major effort to clean up the code in the FreeBSD tree. In two days he has reported three instances of the following common C error: if (x = y) instead of if (x == y) This is in running code, in an OS whose developers consider stability to be one of its major advantages over other offerings. He also reported some missing breaks in a switch statement---many of us remember what THAT error did not too long ago. [RISKS-9.61 to 71. Trojan horse switches in midstream? PGN] -Fred Gilham gilham@csl.sri.com