[Rd] Stack smashing in RODBC

Dirk Eddelbuettel edd at debian.org
Tue Jan 26 12:17:16 CET 2010


On 26 January 2010 at 01:23, "Tom \"spot\" Callaway" wrote:
| On 01/25/2010 09:14 PM, Dirk Eddelbuettel wrote:
| > I cannot replicate this on Debian. The error gets trapped just fine. This may
| > be particular to your builds or setup. I don;t see an R error (but of course
| > do not speak for R Core). Here is a short version, it is the same in normal
| > interactive mode.
| 
| I don't think Debian builds with stack protection in glibc, whereas
| Fedora does (and I think Ubuntu Hardy and onward also do).

As I get the exact same result on Ubuntu, I continue to suspect that the
issue with Fedora.

edd at joe:~$ echo 'library(RODBC); channel <- odbcConnect("foo", uid="bar")' | R --slave
Warning messages:
1: In odbcDriverConnect("DSN=foo;UID=bar") :
  [RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver Manager]Data source name not found, and no default driver specified
2: In odbcDriverConnect("DSN=foo;UID=bar") : ODBC connection failed
edd at joe:~$ COLUMNS=78 dpkg -l r-base-core r-cran-rodbc | tail -2
ii  r-base-core    2.10.1-2karmic GNU R core of statistical computation and gr
ii  r-cran-rodbc   1.3-1-1karmic0 GNU R package for ODBC database access
edd at joe:~$

FWIW, on Debian and Ubuntu, unixodbc_2.2.11 is used.

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-devel mailing list