6 Sep
2016
6 Sep
'16
5:35 a.m.
On 6 September 2016 at 01:41, Matteo Bruni <matteo.mystral(a)gmail.com> wrote:
Hmm, unless there is something guaranteeing that the name can't be longer than 100 bytes (and there might be, I haven't looked too deeply) a check is still needed. Right, it checks the input buffer size, but not the output buffer size. Still, you effectively calculate the length of the name in "pos".