|
From: | Assaf Gordon |
Subject: | Re: baseN: new program suggestion (various 'base' encoding) |
Date: | Sat, 5 Jan 2019 17:21:13 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On 2019-01-04 10:38 a.m., Pádraig Brady wrote:I wonder should we avoid VLAs in coreutils altogether? I.E. add -Werror=vla. The kernel has done this for security reaons.
Attached is a suggested patch to allocate buffers on the heap (even if they were not VLAs). Comments welcomed, - assaf
0001-basenc-allocate-buffers-on-heap.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |