[unixODBC-support] buffer overrun in extract_diag_error_w
nick at lurcher.org
Tue Mar 4 08:09:06 GMT 2014
On 03/03/14 22:20, Yakovets, Aleksey wrote:
> I ran into buffer overrun problem when an error message is too long (
> longer than 1.5K - Vertica/ pyodbc/unix odbc2.3.1/RedHat stack)
> What is the msg1 buffer length in SQLGETDIAGRECW()
> /extract_diag_error_w -- is it in bytes or in characters?
> The code seems to be inconsistent with
> SQLERRORW/extract_sql_error_w follow the same convention
> Any help is greatly appreciated.
I will take a look at this, but could you check 2.3.3pre to make sure
its not already fixed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the unixODBC-support