Skip to content

model.matrix crashes (PR#189)

2 messages · Thomas Lumley, Peter Dalgaard

#
On Tue, 11 May 1999 jlindsey@alpha.luc.ac.be wrote:

            
I can't reproduce this on Solaris.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
thomas@biostat.washington.edu writes:
I can, on Linux, RH6.0.

The problem is neatly described in src/main/model.c:1690

    /* FIXME : we need to check for buffer overflow here. */

I've upped the BUFSIZE from 128 to 4096, which should push the problem
a bit further back....