summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ac2899)
raw | patch | inline | side by side (parent: 1ac2899)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Fri, 30 May 2008 23:38:00 +0000 (23:38 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Fri, 30 May 2008 23:38:00 +0000 (23:38 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2008 f882894a-f735-0410-b71e-b25c423dba1c
NEWS | patch | blob | history | |
THANKS.in | patch | blob | history | |
plugins/check_http.c | patch | blob | history |
index 3f1fece75404380be48191b02caa58651cedf6ba..7eb3098f9a89d8b5bb89a1f313d1a6133aba31a4 100644 (file)
--- a/NEWS
+++ b/NEWS
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
diff --git a/THANKS.in b/THANKS.in
index 04a6d3c7d391d913613d400de939d0c40487f9d5..718d0f320048424983ef6851162606d844332ac2 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Jan Wagner
Christian Schneemann
Rob Windsor
+Hilko Bengen
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 42636cd02c81b0e77f97cd3589ff090b8d97c112..07e0079e64b6035fae062004ec9044d6881c1f66 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
/* 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) {