On 03/03/2013 08:57 PM, Nickolai Zeldovich wrote:
This patch fixes two bugs in the realloc invocation in setCode(), which
most likely cause memory corruption when realloc is triggered:
1. Pass *enc to realloc (which is the dynamically-allocated buffer),
instead of enc (which stores a
On Mon, Mar 4, 2013 at 11:28 AM, Aaron Plattner aplatt...@nvidia.com wrote:
Yikes, that's pretty bad!
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Do you need someone to apply this for you?
That'd be great -- I have no way to apply/commit patches.
Thanks,
NIckolai.
On 03/ 4/13 08:39 AM, Nickolai Zeldovich wrote:
On Mon, Mar 4, 2013 at 11:28 AM, Aaron Plattner aplatt...@nvidia.com wrote:
Yikes, that's pretty bad!
Reviewed-by: Aaron Plattner aplatt...@nvidia.com
Do you need someone to apply this for you?
That'd be great -- I have no way to
This patch fixes two bugs in the realloc invocation in setCode(), which
most likely cause memory corruption when realloc is triggered:
1. Pass *enc to realloc (which is the dynamically-allocated buffer),
instead of enc (which stores a pointer to the dynamically-allocated
buffer).
2.