18 Aug
2016
18 Aug
'16
8:42 a.m.
On 18 Aug 2016, at 04:06, Neels Hofmeyr <nhofmeyr@sysmocom.de> wrote:
For strncat, to obtain n, one must not subtract the length of what is appended, but the length of what is already written from the buffer size.
let's use talloc_asprintf or the append variant of it. The place doesn't look like performance critical code. holger