[Nagiosplug-checkins] SF.net SVN: nagiosplug: [2008] nagiosplug/trunk
dermoth at users.sourceforge.net
dermoth at users.sourceforge.net
Sat May 31 01:38:00 CEST 2008
Revision: 2008
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2008&view=rev
Author: dermoth
Date: 2008-05-30 16:38:00 -0700 (Fri, 30 May 2008)
Log Message:
-----------
Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
Modified Paths:
--------------
nagiosplug/trunk/NEWS
nagiosplug/trunk/THANKS.in
nagiosplug/trunk/plugins/check_http.c
Modified: nagiosplug/trunk/NEWS
===================================================================
--- nagiosplug/trunk/NEWS 2008-05-29 10:21:50 UTC (rev 2007)
+++ nagiosplug/trunk/NEWS 2008-05-30 23:38:00 UTC (rev 2008)
@@ -1,5 +1,8 @@
This file documents the major additions and syntax changes between releases.
+1.4.?? ??th ??? 200?
+ Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
+
1.4.12 27th May 2008
Added ./check_nt -v INSTANCES to count number of instances (Alessandro Ren)
New check_icmp -s option to specify the source IP address
Modified: nagiosplug/trunk/THANKS.in
===================================================================
--- nagiosplug/trunk/THANKS.in 2008-05-29 10:21:50 UTC (rev 2007)
+++ nagiosplug/trunk/THANKS.in 2008-05-30 23:38:00 UTC (rev 2008)
@@ -235,3 +235,4 @@
Jan Wagner
Christian Schneemann
Rob Windsor
+Hilko Bengen
Modified: nagiosplug/trunk/plugins/check_http.c
===================================================================
--- nagiosplug/trunk/plugins/check_http.c 2008-05-29 10:21:50 UTC (rev 2007)
+++ nagiosplug/trunk/plugins/check_http.c 2008-05-30 23:38:00 UTC (rev 2008)
@@ -598,8 +598,11 @@
/* Skip to the end of the header, including continuation lines. */
while (*s && !(*s == '\n' && (s[1] != ' ' && s[1] != '\t')))
s++;
- s++;
+ /* Avoid stepping over end-of-string marker */
+ if (*s)
+ s++;
+
/* Process this header. */
if (value && value > field+2) {
char *ff = (char *) malloc (value-field);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list