iODBC icon indicating copy to clipboard operation
iODBC copied to clipboard

An open-source ODBC driver manager and SDK that facilitates the development of database-independent applications on linux, freebsd, unix and MacOS X platforms.

Results 39 iODBC issues
Sort by recently updated
recently updated
newest added

See https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbc/herr.c#L1031 It's using a fixed size buffer, and there's no checks I could find on the size of a diagnostic message when being added via _iodbcdm_pushsqlerr(), so this will...

We're using Cognos on AIX 7.2 and were told that we need to use iODBC to connect to a database through the Cognos product. IBM claimed they supply a version...

[An extra null pointer check is not needed in functions](https://stackoverflow.com/questions/18775608/free-a-null-pointer-anyway-or-check-first "Free a null pointer anyway or check first?") like the following. - [_iodbcdm_cfg_done](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbcinst/inifile.c#L173 "_iodbcdm_cfg_done function") - [_iodbcdm_cfg_freeimage](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbcinst/inifile.c#L191 "_iodbcdm_cfg_freeimage function")

Would you like to add more error handling for return values from functions like the following? - [malloc](https://pubs.opengroup.org/onlinepubs/9699919799/functions/malloc.html "Memory allocation") ⇒ [slot_alloc](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbcinst/dlf.c#L335) - [strdup](https://pubs.opengroup.org/onlinepubs/9699919799/functions/strdup.html "Duplicate a string.") ⇒ [_iodbcdm_cfg_storeentry](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbcinst/inifile.c#L460)

I would like to point out that identifiers like “[`_IODBC_H`](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/include/iodbc.h#L79 "Update candidate")” and “[`__DESC_H`](https://github.com/openlink/iODBC/blob/d6481a835d3a27cafa07302578dc8f25f03522dc/iodbc/hdesc.h#L79 "Another update candidate")” [do not fit](https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier#DCL37C.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28IncludeGuard%29 "Do not use identifiers which are reserved for the compiler...

I'm not sure if passing a bufferlength of 0 to SQLBindParameter for a string parameter while using a length indicator of SQL_NTS is completely kosher, but it used to work...

This is a question which folks might be able to help on. I apologise for raising it as an issue and if there is a better place to ask this...

I have a scenario where I'm binding a parameter as SQL_C_WCHAR/SQL_PARAM_INPUT_OUTPUT & with a length indicator set to SQL_DEFAULT_PARAM. it seems that `_SQLExecute_ConvParams`/`_ConvParam` doesn't handle SQL_DEFAULT_PARAM properly, as at the...

On macOS11.5, iODBC-3.52.15 fails to compile with this error (build succeeds on 10.13 and 10.14): ``` /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -DODBCVER=0x0350 -DIODBC_BUILD=15210607 -DNO_FRAMEWORKS -version-info 3:30:1 -export-symbols ./drvproxy.exp...

When entering a value for a User Data Source in iODBC Admin in macOS Big Sur, if you click OK while the value is still in edit mode (a light...