From kmillar at google.com  Tue Sep 23 21:20:57 2014
From: kmillar at google.com (Karl Millar)
Date: Tue, 23 Sep 2014 12:20:57 -0700
Subject: [Rd] Patch for R to fix some buffer overruns and add a missing
	PROTECT().
Message-ID: <CABz6aZdT9VNxqKwy1QuWqvP6=tfa0+j--b6GXdQTd82+hvkkAA@mail.gmail.com>

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 a warning.

Thanks,

Karl


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