Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUwSo-0006t9-C3 for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 17:29:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUwSm-0006oX-M7 for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 17:29:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUwSm-0006oQ-BD for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 17:29:52 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUwSj-0001Wj-Tf for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 17:29:51 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id F1EBE22256; Wed, 13 Nov 2019 12:29:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 13 Nov 2019 12:29:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=TwRm8oVFNpor684K55FddyZrTzb Je06VB0DFxl1RPUA=; b=MgYCKV6k7u+VgfmyK2cZSRrU/gcHPH27SmbbM8rnlfz uFWWuEovnmIIm+55p3XVOSNamOhQhH6SI6ijkaTSuQtsaGGlPVSJcMiUtSpNhyLj alRx7nM4gFrnxC6CUQhX+YgJcRcte/q592V2M4/MYOwFbmpbggYiNB8VjdrmVywx AfG5F/FKmN/SqY1crLjNJx0nSvamISaX/SlIZAKuJgTQ1mDNnKg5GSBoz1fGhaSP 8wZ2/r8IZl0u+Bp/6ZhdnyApU+uQhlvsV7vsGv+rTRwVtvZEEyra0TkBltmxCwln jcxEZEFLj/ohUmU1FayxnIEF1affKAQ6rdpHtLqmbCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=TwRm8o VFNpor684K55FddyZrTzbJe06VB0DFxl1RPUA=; b=Oiq11ZVN8jJSiKxqPybZcf h/glvFmWj5T0TPAec83IyJ4FeF80Q3bSXTBNyY9aphs5LQj7d+OggJQcBuCG4nfx 0izJVhUKuIJoOPZwIX0b3nLtwNvzdorsDdlHDh1tBpvm+pXGrga7mTibZffirZHs nZ5fmqBopbbHusK/hUwpdp97j2SdffXTQb6fPr/3WmEJPlkLsptdGHcrIxz3cKbF FreNO2Ni7Ahi1R/+Lxl0I4Fcdw6XC55dnllfs1nZMRaQKce6GnoE9DR5JpKGA1Sx +IjsLc6ZRqTp5OnCU2sOTh+q+aNrE5fitaunPDs14PjgTSQMCoz0o8YeKsnFUFNg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudefuddguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttd ertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegr nhgrrhgriigvlhdruggvqeenucfkphepieejrdduiedtrddvudekrddvfeejnecurfgrrh grmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvgenucevlhhu shhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-218-237.hsd1.ca.comcast.net [67.160.218.237]) by mail.messagingengine.com (Postfix) with ESMTPA id 260B18005A; Wed, 13 Nov 2019 12:29:48 -0500 (EST) Date: Wed, 13 Nov 2019 09:29:46 -0800 From: Andres Freund To: Ranier Vilela Cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: [BUG] Uninitialized var buffer flag used. Message-ID: <20191113172946.7oadg5kr3qb5vpqh@alap3.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-11-13 17:07:00 +0000, Ranier Vilela wrote: > file: /backend/tsearch/spell.c > line: 1534 > var: flag I'll echo Tom's complaint in a nearby thread that the format of these complaints is distinctly lacking. But I do agree that this looks at least a bit fishy - if there were an ispell file without a "flag" line, it does indeed seem that we'd pass an uninitialized flag to NIAddAffix(), which'd duly cpstrdup() it. Now, practically that's probably fine, because there's likely to be no affix files witout flags, but we shouldn't rely on that. Greetings, Andres Freund