[PATCH] check_ntp: fix null termination

Holger Weiß holger at zedat.fu-berlin.de
Sun Nov 30 23:51:28 CET 2014


* Sebastian Herbszt <herbszt at gmx.de> [2014-11-26 23:54]:
> Fix null termination introduced by commit a04df3e
> ("plugins/check_ntp.c - Verify struct from response").

Looks obviously correct if you just look at the diff, but the commit
that introduced the original code is broken in many more ways (req.count
is evaluated in network byte order, for example), so I reverted that.

Thanks for spotting this, and for your other fixes!

Holger



More information about the Devel mailing list