Stack corruption with 10g ODBC driver?
I am running an Oracle 10.2.0.4 server and connecting from a Linux RHEL 5 box using the Oracle 10.2.0.4 ODBC driver.
$ uname -a
Linux my.dns.name 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
I've followed the instructions in "How to Configure Oracle ODBC 10.2.0.4 64-bit on Linux x86-64 [ID 742548.1]" to install the patch for bug 6684004.
I'm getting some very odd behavior when running the following test program:
// SYSTEM RUN-TIME LIBRARIES
#include <sql.h>
#include <sqlext.h>
#include <sqltypes.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#define MAX_SQL_STMT_LENGTH 1024
void handleError(SQLRETURN retcode, int lineNum)