Bug#396337: [Pkg-nagios-devel] Bug#396337: [PATCH] Off-by-one in NAGIOS check_tcp.c

2008-02-04 Thread Jan Wagner
Hi Benoit, hi martin, On Wednesday 01 November 2006 22:44, sean finney wrote: > after looking closer at the bug, it seems this is already fixed in the > version of nagios-plugins in testing/unstable. any chance you could > verify that? I'm closing the bug, since it seems fixed by upsptream long

Bug#396337: [Pkg-nagios-devel] Bug#396337: [PATCH] Off-by-one in NAGIOS check_tcp.c

2006-11-01 Thread sean finney
hi benoit, martin, after looking closer at the bug, it seems this is already fixed in the version of nagios-plugins in testing/unstable. any chance you could verify that? thanks, sean signature.asc Description: This is a digitally signed message part

Bug#396337: [PATCH] Off-by-one in NAGIOS check_tcp.c

2006-10-31 Thread Martin Blapp
Sorry, got it wrong the first time ... The problem was that the read buffer was not cleared the second time. If we don't do this we get a completly mess. And second, if read returns one byte, we need to test this case for beeing '\n' to break out of the loop. --- check_tcp.c 2004-12-30 01:4

Bug#396337: [PATCH] Off-by-one in NAGIOS check_tcp.c

2006-10-31 Thread Martin Blapp
--- ./check_tcp.c2004-12-30 01:41:40.0 +0100 +++ ./check_tcp.c 2006-10-31 11:56:59.0 +0100 @@ -310,7 +310,7 @@ memset (buffer, '\0', MAXBUF); /* watch for the expect string */ while ((i = my_recv ()) > 0) { -