Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YFdmF-000481-0T for pgsql-odbc@arkaria.postgresql.org; Mon, 26 Jan 2015 07:08:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YFdmD-0007yL-Ga for pgsql-odbc@arkaria.postgresql.org; Mon, 26 Jan 2015 07:08:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YFdmB-0007y9-MW for pgsql-odbc@postgresql.org; Mon, 26 Jan 2015 07:07:59 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YFdm1-0001up-Kz for pgsql-odbc@postgresql.org; Mon, 26 Jan 2015 07:07:57 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id A2C5D288F2 for ; Sun, 25 Jan 2015 23:07:43 -0800 (PST) Received: from EX13-CAS-012.vmware.com (EX13-CAS-012.vmware.com [10.113.191.64]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id A03D7B0642 for ; Sun, 25 Jan 2015 23:07:43 -0800 (PST) Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Sun, 25 Jan 2015 23:07:42 -0800 Message-ID: <54C5E7AC.2090104@vmware.com> Date: Mon, 26 Jan 2015 09:07:24 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: "pgsql-odbc@postgresql.org" Subject: Coverity and Clang Static Analyzer runs Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org I registered psqlodbc for the Coverity Scan program at scan.coverity.org, and performed the initial run. I fixed a bunch of issues that it pointed out. I also ran Clang Static Analyzer, which pointed out some of the same issues as Coverity did, and a few others. I've fixed a bunch of those too. If you'd like to help out weeding the Coverity defects, sign up at scan.coverity.org. A few dozen defects remain, most of which seem to be false positives at a quick glance. For now, I plan to run it manually on my laptop every now and then. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc