Simplify reading lines from configuration files.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 1 Mar 2010 22:35:02 +0000 (23:35 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 1 Mar 2010 22:35:02 +0000 (23:35 +0100)
Instead of allocating storage for each line read, we now read into fixed-size
buffers on the stack. This fixes a case where a malformed configuration file
could crash tinc.


No differences found