Skip to content

eval(match.call()) (PR#9339)

3 messages · Marc Schwartz, Bill Dunlap, Peter Dalgaard

#
On Fri, 2006-11-03 at 22:41 +0100, p.dalgaard at biostat.ku.dk wrote:
<snip>
Are you using Martyn's RPM or Extras? Just wondering if there is any
difference. In theory, I suppose, given the prior communications with
Tom, there shouldn't be.

Also, was this a clean install of FC6 or an "in place upgrade" of FC5.
Officially, FC does not support the latter and I have seen mixed
comments on the FC lists pertaining to that path and associated issues.

Marc
#
On Fri, 3 Nov 2006 marc_schwartz at comcast.net wrote:

            
I think valgrind shows the problem is in deparse.c:
    245         strncpy(data, CHAR(STRING_ELT(svec, 0)), 10);
    246         if (strlen(CHAR(STRING_ELT(svec, 0))) > 10) strcat(data, "...");
You need to put a '\0' into data[10] after that strncpy
so strcat can find the end of the string when the length
of the copied string is >=10.  It currently runs into
uninitialized memory at the end of ".Primitive".

(This is in a copy of R source from June 2006.)

----------------------------------------------------------------------------
Bill Dunlap
Insightful Corporation
bill at insightful dot com
360-428-8146

 "All statements in this message represent the opinions of the author and do
 not necessarily reflect Insightful Corporation policy or position."
#
Bill Dunlap <bill at insightful.com> writes:
Now fixed in 2.4.0 Patched and the development version.