openbsc[master]: nat: Fix initial buffer size parameter for getline

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/gerrit-log@lists.osmocom.org/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Wed Apr 12 03:50:57 UTC 2017


Patch Set 1: Code-Review+2

How did you see this? Code review? Compiler warning?

The BSD manpage is not that clear here. As linep is NULL a new buffer will be allocated which leads to updating these values. But there is no point to insist on 2342 as initial value.

-- 
To view, visit https://gerrit.osmocom.org/2287
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I36683884106b97ef697264716de13813c00da9bc
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-HasComments: No



More information about the gerrit-log mailing list