From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2e2a40a6 for ; Thu, 21 Nov 2019 20:02:21 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 4E2979C149; Fri, 22 Nov 2019 06:02:20 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id C9F6C93D71; Fri, 22 Nov 2019 06:02:09 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 67F5093D71; Fri, 22 Nov 2019 06:02:07 +1000 (AEST) Received: from viclamta22p.bpe.bigpond.com (viclamta22p.bpe.bigpond.com [203.38.21.86]) by minnie.tuhs.org (Postfix) with ESMTPS id A010F93D59 for ; Fri, 22 Nov 2019 06:02:06 +1000 (AEST) Received: from smtp.telstra.com ([10.10.26.4]) by viclafep22p-svc.bpe.nexus.telstra.com.au with ESMTP id <20191121200204.WFRK6062.viclafep22p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Fri, 22 Nov 2019 07:02:04 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedufedrudehvddgudefgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvffttedpqfgfvfenuceurghilhhouhhtmecugedttdenucenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucfkphepuddutddrudeguddrudelfedrvdeffeenucfrrghrrghmpehhvghloheprghnvghurhhinhdrhhhorhhsfhgrlhhlrdhorhhgpdhinhgvthepuddutddrudeguddrudelfedrvdeffedpmhgrihhlfhhrohhmpeeouggrvhgvsehhohhrshhfrghllhdrohhrgheqpdhrtghpthhtohepoehtuhhhshesthhuhhhsrdhorhhgqeenucevlhhushhtvghrufhiiigvpedt X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.418) id 5DC8693F020CC6D4 for tuhs@tuhs.org; Fri, 22 Nov 2019 07:02:04 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id xALK23wK045823 for ; Fri, 22 Nov 2019 07:02:03 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id xALK23LK045820 for ; Fri, 22 Nov 2019 07:02:03 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Fri, 22 Nov 2019 07:02:03 +1100 (EST) From: Dave Horsfall To: The Eunuchs Hysterical Society In-Reply-To: Message-ID: References: <1573592179.5935.for-standards-violators@oclsc.org> <20191112221053.C2009156E80B@mail.bitblocks.com> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] buffer overflow (Re: Happy birthday Morris worm X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, 19 Nov 2019, Tony Finch wrote: > Amusingly POSIX says the C standard takes precedence wrt the details of > gets() (and other library functions) and C18 abolished gets(). I'm > slightly surprised that the POSIX committee didn't see that coming and > include the change in the 2018 edition... Didn't know that gets() had finally been abolished; it's possibly the most unsafe function (OK, macro) on the planet. I've long been tempted to remove gets() and see what breaks... -- Dave