This is a patch series for OpenGGSN. It was submitted before on August 18th, but this new version separates the nul termination thing to a separate commit (and slightly tweaks it).
~Neels
On Thu, Sep 15, 2016 at 03:06:38PM +0200, Neels Hofmeyr 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.
[...]