Re: [PATCH] check_ntp: fix null termination

Holger Weiß <[email protected]>
Newsgroups gmane.network.nagios.devel
Organization Freie Universität Berlin
Message-ID <20141130225128.GA696021__3845.60391908071$1417387902$gmane$org@zedat.fu-berlin.de>
* Sebastian Herbszt <[email protected]> [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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.