Re: [Rd] (PR#13283) R crashes on sprintf with bad format specification

2008-11-14 Thread Prof Brian Ripley
] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent: Friday, November 14, 2008 2:25 AM To: Duncan Murdoch Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Rd] (PR#13283) R crashes on sprintf with bad format specification As R's sprintf is a wrapper for the

Re: [Rd] (PR#13283) R crashes on sprintf with bad format specification

2008-11-14 Thread wdunlap
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley > Sent: Friday, November 14, 2008 2:25 AM > To: Duncan Murdoch > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];=20 > [EMAIL PROTECTED] > Subject: Re: [Rd] (PR#13283) R crashes on sprintf with bad=20 > format specificati

Re: [Rd] (PR#13283) R crashes on sprintf with bad format specification

2008-11-14 Thread William Dunlap
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley > Sent: Friday, November 14, 2008 2:25 AM > To: Duncan Murdoch > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: Re: [Rd] (PR#13283) R crashes on sprintf with bad &

Re: [Rd] (PR#13283) R crashes on sprintf with bad format specification

2008-11-14 Thread Prof Brian Ripley
As R's sprintf is a wrapper for the OS's sprintf, misuse does run the risk of crashing from OS, and when it does the error will come from the implementation of sprintf (which for R for Windows is the Trio library). One could argue that the OS service should not segfault on incorrect input, but t