[Rd] segfault on functions with 'source' attribute set to a boolean or a number (PR#10437)

From: <karl_at_huftis.org>
Date: Mon, 19 Nov 2007 11:45:28 +0100 (CET)

Full_Name: Karl Ove Hufthammer
Version: 2.6.0
OS: Linux (Fedora 7)
Submission from: (NULL) (

When viewing a function that has its 'source' attribute set to a boolean or a numeric, R crashes with a segfault. (Setting 'source' to a character vector does not make R crash, however.)

Steps to reproduce:

> attr(lm,"source")=FALSE
> lm

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 19 Nov 2007 - 14:29:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 19 Nov 2007 - 14:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.