Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.44.0307191844510.1901-100000@gannet.stats>
Date: 2003-07-19T19:46:42Z
From: Brian Ripley
Subject: finename length no check (PR#3466)
In-Reply-To: <200307120654.h6C6sfJH004343@pubhealth.ku.dk>

Fixed now (and similar cases), but why do you need a filename like that
(or anything like that long?)?  Many OSes have limits around 256 chars.

On Sat, 12 Jul 2003 nakama@ki.rim.or.jp wrote:

> Full_Name: Ei-ji Nakama
> Version: R-1.7.1
> OS: Linux
> Submission from: (NULL) (219.117.236.13)
> 
> 
> > filename <- "----+----1----+----2----+----3----+----4----+----5----+----6----
> +----7----+----8----+----9----+----0----+----1----+----2----+----3----+----4---
> -+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2--
> --+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0-
> ---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
> ----+----9----+----0----+----1----+----2----+----3----+----4----+----5----+----
> 6----+----7----+----8----+----9----+----0----+----1----+----2"
> > png(file=filename,width=100,height=100,pointsize=12)
> Segmentation fault
> 
> src/modules/X11/devX11.c

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595