Re: [Rd] Patch for R to fix some buffer overruns and add a missing PROTECT().

2014-09-23 Thread Karl Millar
Bug submitted. Thanks. On Tue, Sep 23, 2014 at 12:42 PM, Duncan Murdoch wrote: > On 23/09/2014 3:20 PM, Karl Millar wrote: >> >> This patch is against current svn and contains three classes of fix: >> - Ensure the result is properly terminated after calls to strncpy() >> - Replace calls

Re: [Rd] Patch for R to fix some buffer overruns and add a missing PROTECT().

2014-09-23 Thread Duncan Murdoch
On 23/09/2014 3:20 PM, Karl Millar wrote: This patch is against current svn and contains three classes of fix: - Ensure the result is properly terminated after calls to strncpy() - Replace calls of sprintf() with snprintf() - Added a PROTECT() call in do_while which could cause memory

[Rd] Patch for R to fix some buffer overruns and add a missing PROTECT().

2014-09-23 Thread Karl Millar
This patch is against current svn and contains three classes of fix: - Ensure the result is properly terminated after calls to strncpy() - Replace calls of sprintf() with snprintf() - Added a PROTECT() call in do_while which could cause memory errors if evaluating the condition results in