FreeBSD Bugzilla – Attachment 212036 Details for
Bug 244510
net-mgmt/nagios-plugins: 2.3.2 breaks check_http for the -s, -r, and -R flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.txt (text/plain), 1.30 KB, created by
Craig Leres
on 2020-02-29 01:18:31 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2020-02-29 01:18:31 UTC
Size:
1.30 KB
patch
obsolete
>Index: files/patch-plugins_check__http.c >=================================================================== >--- files/patch-plugins_check__http.c (nonexistent) >+++ files/patch-plugins_check__http.c (working copy) >@@ -0,0 +1,17 @@ >+From 365a15c3e13a66cde3a90215f0dfbf9609b55b24 Mon Sep 17 00:00:00 2001 >+From: madlohe <swolf@nagios.com> >+Date: Wed, 26 Feb 2020 15:06:28 -0600 >+Subject: [PATCH] check_http: fixed missing parens in second set of calls to >+ my_recv (was causing issues with regexp in larger web pages) >+ >+--- plugins/check_http.c.orig 2020-02-20 19:14:52 UTC >++++ plugins/check_http.c >+@@ -1220,7 +1220,7 @@ check_http (void) >+ seen_length = pagesize - content_start; >+ /* Continue receiving the body until content-length is met */ >+ while (seen_length < content_length >+- && (i = my_recv(buffer, MAX_INPUT_BUFFER-1) > 0)) { >++ && ((i = my_recv(buffer, MAX_INPUT_BUFFER-1)) > 0)) { >+ >+ buffer[i] = '\0'; >+ > >Property changes on: files/patch-plugins_check__http.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244510
:
212036
|
212040