Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZoCUG-000435-9z for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Oct 2015 15:36:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZoCUF-0006pz-SX for pgsql-bugs@arkaria.postgresql.org; Mon, 19 Oct 2015 15:36:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZoCTc-0005F8-Rd for pgsql-bugs@postgresql.org; Mon, 19 Oct 2015 15:35:56 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZoCTZ-0005xT-So for pgsql-bugs@postgresql.org; Mon, 19 Oct 2015 15:35:55 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.52.149]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 9D153400986; Mon, 19 Oct 2015 08:35:52 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id F1BA392B; Mon, 19 Oct 2015 12:35:47 -0300 (CLT) Date: Mon, 19 Oct 2015 12:35:47 -0300 From: Alvaro Herrera To: rucsoftsec@163.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13688: lack of return value in r_mark_regions() Message-ID: <20151019153547.GL3391@alvherre.pgsql> References: <20151019145758.3021.94507@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20151019145758.3021.94507@wrigleys.postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org rucsoftsec@163.com wrote: > For each execuation result of function r_mark_regions(), it always return 1. > the related code snippets in r_mark_regions() are as following. > [...] > However, in its caller function, the return value of function > r_mark_regions() should have two possibilities at least. So, there lack of > return value in r_mark_regions(). We're only consumers of the snowball code; we do not maintain those files. Have you checked the upstream code? I notice we haven't updated those files since they were first introduced in 2007. That can't be right ... -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs