]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpcli: don't rely on `fgetln()` providing a NULL-terminated string
authorVincent Bernat <bernat@luffy.cx>
Tue, 14 May 2013 20:49:48 +0000 (22:49 +0200)
committerVincent Bernat <bernat@luffy.cx>
Tue, 14 May 2013 20:49:48 +0000 (22:49 +0200)
commit5920dbf73ae170392e43e393e9c1d5983943300f
treed34f6d50c007f2c60d168b3d2e165c2dd5a21e82
parent655145c07b899e385cf3b8144758ea0c41d7518b
lldpcli: don't rely on `fgetln()` providing a NULL-terminated string

From the manual page of some BSD, this is not the case.
src/client/lldpcli.c