Displaying 3 results from an estimated 3 matches for "6c911f62".
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
...>
> > 6C916592 R.dll:6C916592 trio_vsprintf trio.c:3771
> >
> > ...
> > return status;
> >
> >> status =3D TrioFormatProcess(&data, format, 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,...
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
...R.dll:6C916592 trio_vsprintf trio.c:3771
>>>
>>> ...
>>> return status;
>>>
>>>> status = TrioFormatProcess(&data, format, parameters);
>>> if (data.error != 0)
>>> {
>>> ...
>>>
>>> 6C911F62 R.dll:6C911F62 sprintf compat.c:46
>>>
>>> ...
>>> va_end(ap);
>>> return res;
>>>> }
>>>
>>>
>>> ...
>>>
>>> 6C889F1E R.dll:6C889F1E do_sprintf sprintf.c:297
>>>
>>> ....