djhenderson / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Bus error on Solaris 10 when calling getinfo #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

PyODBC 2.1.6 on Solaris 10.

Please provide any additional information below.

Lines 503-505 of connection.cpp attempt to read a long into
the address space of an unsigned small int.

SQLUSMALLINT infotype;    
if (!PyArg_ParseTuple(args, "l", &infotype))        
    return 0;

Original issue reported on code.google.com by mike.t.k...@gmail.com on 19 Jan 2010 at 1:33

Attachments:

GoogleCodeExporter commented 9 years ago
I believe this is fixed in 2.1.8.  Can you test this?

Original comment by mkleehammer on 6 Sep 2010 at 5:39

GoogleCodeExporter commented 9 years ago
I'm not the reporter of this issue, but I was able to confirm the bug in 2.1.7 
on our solaris 10 install. The 2.1.8 version has fixed the problem with 
getinfo. Thanks!

Original comment by myer0...@gmail.com on 18 Nov 2010 at 4:28

GoogleCodeExporter commented 9 years ago
Fixed in 2.1.8.

Original comment by mkleehammer on 20 Nov 2010 at 11:04

GoogleCodeExporter commented 9 years ago

Original comment by mkleehammer on 21 Nov 2010 at 4:45