Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpD4n-0005Ae-CF for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jun 2021 16:53:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lpD4m-0007rV-Al for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jun 2021 16:53:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpD4l-0007rN-A1 for pgsql-hackers@lists.postgresql.org; Fri, 04 Jun 2021 16:53:40 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lpD4j-0000AM-3z for pgsql-hackers@lists.postgresql.org; Fri, 04 Jun 2021 16:53:38 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AD5035C00E8; Fri, 4 Jun 2021 12:53:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 04 Jun 2021 12:53:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=x6CbSHYiwOqrYCNYoUVp+ZIejp5aQ686je4ifyA9iA0=; b=VRzhiDI4 Bk6qsb0LB0wVN/ft9RTszlximHf26z2Y2yfGAQ8jjAr91We3knWxcciGoOfutShJ Dx5M9s57uMB/Rs3BRnUm7aYmMPfnuA1eVNXUg+PK9yH8MM7Wiur9B35CtM1HcNAR u8KEv0ONrcdtwPpTFBE5hat4EP7JF5LCgndRokVWmcwP3bS+/BrDup8ak/ANbiZG VXgf8SZ6vK1pw+7tkpa+GBfQ7JWzobb6eju//bRc2nyT1GT9ZF9XHp4x4rTjFKKL HN61MKjT37wAFsGHNuYBgDY2pnFVV71Ce0CzULWdDznU13eybaaY/vnrf5LoXGl+ uSeY6LaUKyA/vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtuddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjgesthekredttddtudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepgeegveevffevjeffudethfdvtdeggefhhffguefhfeej iefgvefhfeelvedtudetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Jun 2021 12:53:34 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 9DA0B2A0D0C; Fri, 4 Jun 2021 12:53:31 -0400 (-04) Date: Fri, 4 Jun 2021 12:53:31 -0400 From: Alvaro Herrera To: Bharath Rupireddy Cc: PostgreSQL Hackers Subject: Re: Incorrect usage of strtol, atoi for non-numeric junk inputs Message-ID: <202106041653.wvei6hfftzbg@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-04, Bharath Rupireddy wrote: > On Fri, Jun 4, 2021 at 8:58 PM Alvaro Herrera wrote: > > I would suggest that the best way forward in this area is to rebase both > > there patches on current master. > > Thanks. I will read both the threads [1], [2] and try to rebase the > patches. If at all I get to rebase them, do you prefer the patches to > be in this thread or in a new thread? Thanks, that would be helpful. This thread is a good place. -- Álvaro Herrera Valdivia, Chile