]> git.meshlink.io Git - meshlink/commit
Limit field width when scanning PID file.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 2 Jan 2011 15:52:36 +0000 (16:52 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 2 Jan 2011 15:52:36 +0000 (16:52 +0100)
commitd7636352ce359e807b392a6e5ac0a6aeff4a63d2
treed44bb3c92974784efa164c9b0feaad96820fd5c5
parent3ce5e292da8bab3a1316faf1ca18625f05074467
Limit field width when scanning PID file.

Cppcheck warns that scanf() might otherwise crash when presented with a huge,
bogus PID file.
lib/pidfile.c