Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 1E0F331E987 for ; Fri, 6 Jan 2012 04:56:49 -0400 (AST) Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rj5bS-0002sq-1T for pgsql-odbc@postgresql.org; Fri, 06 Jan 2012 08:56:50 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q068uWRM007666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 6 Jan 2012 03:56:33 -0500 Received: from dhcp-25-53.brq.redhat.com (dhcp-24-113.brq.redhat.com [10.34.24.113]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q068uVet002541 for ; Fri, 6 Jan 2012 03:56:32 -0500 Message-ID: <4F06B73F.2030307@redhat.com> Date: Fri, 06 Jan 2012 09:56:31 +0100 From: Honza Horak User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Errors found by static analysis tool Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Pg-Spam-Score: -6.9 (------) X-Archive-Number: 201201/5 X-Sequence-Number: 10758 Hi, I'm sending this mail again, because the first two attempts don't seem to be successful (sorry if it's duplicate). Trying without the attachments, they can be found at links below. psql-odbc-09.00.0200 has been scanned using Coverity static analysis tool, which discovered several more or less severe problems [1]. Please note, that there can be some false positives, but many of them are real issues. A patch [2] with some obvious fixes and the error report itself are attached. Cheers, Honza [1] http://hhorak.fedorapeople.org/psql-odbc-coverity/120105-psql-odbc-09.00.0200-coverity.err [2] http://hhorak.fedorapeople.org/psql-odbc-coverity/120105-psqlodbc-coverity.patch