Displaying 3 results from an estimated 3 matches for "6c889f1e".
Did you mean:
6c589fbe
2008 Nov 13
1
R crashes on sprintf with bad format specification (PR#13283)
Full_Name: Oren Cheyette
Version: 2.7.2
OS: Win XP
Submission from: (NULL) (64.161.123.194)
Enter the following at the R command prompt:
> sprintf("A %S %S %S XYZ", 1, 1, 1);
Note the erroneous capitalized %S instead of %s and the numeric inputs instead
of strings. With strings there's no crash - R reports bad format
specifications.
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format specification
...parameters);
> > if (data.error !=3D 0)
> > {
> > ...
> >
> > 6C911F62 R.dll:6C911F62 sprintf compat.c:46
> >
> > ...
> > va_end(ap);
> > return res;
> >> }
> >
> >
> > ...
> >
> > 6C889F1E R.dll:6C889F1E do_sprintf sprintf.c:297
> >
> > ...
> > sprintf(bit, fmtp, " NaN");
> > else
> >> sprintf(bit, fmtp, "NaN");
> > } else if (x =3D=3D R_PosInf) {
> > if (strcspn(fmtp, "+") < strlen(fmt...
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
...r != 0)
>>> {
>>> ...
>>>
>>> 6C911F62 R.dll:6C911F62 sprintf compat.c:46
>>>
>>> ...
>>> va_end(ap);
>>> return res;
>>>> }
>>>
>>>
>>> ...
>>>
>>> 6C889F1E R.dll:6C889F1E do_sprintf sprintf.c:297
>>>
>>> ...
>>> sprintf(bit, fmtp, " NaN");
>>> else
>>>> sprintf(bit, fmtp, "NaN");
>>> } else if (x == R_PosInf) {
>>> if (strcspn(fmtp, "+"...