OpenGGSN - Re: [PATCH 1/3] Fix possible buffer overflow for gsn_restart file path

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

Neels Hofmeyr nhofmeyr at sysmocom.de
Thu Sep 15 13:12:07 UTC 2016


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/osmocom-net-gprs/attachments/20160915/19a21062/attachment.bin>


More information about the osmocom-net-gprs mailing list