[unixODBC-dev] SQLGetFunctions() call with null SupportedPtr dumps core

Nick Gorham nick.gorham at easysoft.com
Fri May 22 10:50:04 BST 2009

G, Hemanth Kumar wrote:
> Hi
>      I am trying to get Teradata driver work with unixODBC driver 
> manager. Compiled and linked the driver with unixODBC and able to 
> connect to the Database successfully.
> With many of our testcases passing, I observe some of them dumping core.
> To mention few --->
> ______________________________________________________________________
> I would suggest, a check is made to verify if the pointers are NULL, 
> before assigning them or doing any arithmetic with them.

It does check pointers in most cases, but not those two, you mention 
some and few, are there others you know are failing. I have fixed (I 
believe) the two you mention (and the other email with attribute 
checking in 2.2.15pre on the ftp site to try now).

Nick Gorham

More information about the unixODBC-dev mailing list