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

G, Hemanth Kumar Hemanth.G at Teradata.com
Fri May 22 11:35:02 BST 2009

Thanks Nick, for a quick response.

  Yeah, there are few more mismatches. I will consolidate and send a
mail on them soon.
Meanwhile, can you tell me the link for ftp site to try out. I am not
able to find it out in unixodbc.org.


-----Original Message-----
From: unixodbc-dev-bounces at mailman.unixodbc.org
[mailto:unixodbc-dev-bounces at mailman.unixodbc.org] On Behalf Of Nick
Sent: Friday, May 22, 2009 3:20 PM
To: Development issues and topics for unixODBC
Subject: Re: [unixODBC-dev] SQLGetFunctions() call with null
SupportedPtrdumps core

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
> 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
unixODBC-dev mailing list
unixODBC-dev at mailman.unixodbc.org

More information about the unixODBC-dev mailing list