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.
[...]
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte