Skip to content
Prev 30375 / 63424 Next

*** buffer overflow detected ***: /usr/lib64/R/bin/exec/R terminated on R 2.6.2 to 2.8.0: logging a bug?

On Fri, 31 Oct 2008, Peter Dalgaard wrote:

            
He cannot reproduce this, on a Fedora 8 system with buffer overflow 
detection enabled and PostgreSQL 8.2.10 (the one that Fedora supplies). 
As the error is from the PostgreSQL ODBC driver, it is most likely a bug 
in that driver (and there is a long history of problems with PostgreSQL 
ODBC drivers, especially on 64-bit systems).

Note that the error is pretty clearly in /usr/lib64/libodbcpsql.so.2 
calling sprintf, and the buffer passed from RODBC has a length specified 
(correctly) in the SQLGetInfo call.  Thus using sprintf on _that_ buffer 
would of itself be an error.  So there is no evidence here of a 'serious 
problem with RODBC' (and many other people are using it on Linux systems 
with PostgreSQL, and no one else has reported any such issue).