switch to getline(3)?

Peter Stuge peter at stuge.se
Wed Apr 25 06:38:39 AEST 2018


Markus Friedl wrote:
> I'd like to get rid of static buffers with arbitrary limits for
> parsing file, e.g. the authorized_keys file with options.

Personally I prefer less dynamic allocation and larger static buffers.


> What about switching to getline(3) as suggested by Gerhard?

If dynamic that's a great solution.


//Peter


More information about the openssh-unix-dev mailing list