]
[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
> 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
> 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
&
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