From: Keith Handlon <Keith.Handlon@sas.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: SQL_QUERY_TIMEOUT
Date: Tue, 1 Aug 2017 18:22:31 +0000
Message-ID: <b19d33869457442faad80e7d73e65d55@MERCMBX49R.na.SAS.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
When SQL_QUERY_TIMEOUT was added it was defined as SQLULEN as per the current ms odbc spec. But as of 3.5 wasn't it a SQLUINTEGER?
It looks like the majority of the other attributes like (SQL_NOSCAN, SQL_RETRIEVE_DATA, etc) are defined as SQLUINTEGER.
This could cause a memory overwrite if its treated like an SQLUINTEGER like the other attributes.
Thanks,
Keith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Keith.Handlon@sas.com
Subject: Re: SQL_QUERY_TIMEOUT
In-Reply-To: <b19d33869457442faad80e7d73e65d55@MERCMBX49R.na.SAS.com>
References: <b19d33869457442faad80e7d73e65d55@MERCMBX49R.na.SAS.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox