Re: integer overflow in a call to SQLGetData()
Nick Gorham <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
Chaitanya kumar CH wrote:
> Hi,
>
> http://trac.osgeo.org/gdal/ticket/3385
> Can someone comment on this bug?
Not sure. If this is the issue
"
/* SQLGetData() is giving garbage values in the first 4 bytes of
cbDataLen *
721 * in some architectures. Converting it to (int) discards the
unnecessary *
722 * bytes. This should not be a problem unless the buffer size
reaches *
723 * 2GB. (#3385)
*/
724 cbDataLen = (int) cbDataLen;
"
Then I would guess you have a mismatch between the size of SQLLEN.
--
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev