Added patch for vsv00001 instead
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
9d1e9e9af1
commit
bf33699b7a
12
varnish-vsv00001.patch
Normal file
12
varnish-vsv00001.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -rup varnish-5.1.2.orig/bin/varnishd/http1/cache_http1_vfp.c varnish-5.1.2/bin/varnishd/http1/cache_http1_vfp.c
|
||||
--- varnish-5.1.2.orig/bin/varnishd/http1/cache_http1_vfp.c 2017-08-02 22:43:30.137116214 +0200
|
||||
+++ varnish-5.1.2/bin/varnishd/http1/cache_http1_vfp.c 2017-08-02 22:44:06.433218762 +0200
|
||||
@@ -152,7 +152,7 @@ v1f_pull_chunked(struct vfp_ctx *vc, str
|
||||
if (q == NULL || *q != '\0')
|
||||
return (VFP_Error(vc, "chunked header number syntax"));
|
||||
cl = (ssize_t)cll;
|
||||
- if ((uintmax_t)cl != cll)
|
||||
+ if (cl < 0 || (uintmax_t)cl != cll)
|
||||
return (VFP_Error(vc, "bogusly large chunk size"));
|
||||
|
||||
vfe->priv2 = cl;
|
@ -17,7 +17,7 @@
|
||||
Summary: High-performance HTTP accelerator
|
||||
Name: varnish
|
||||
Version: 5.1.2
|
||||
Release: 1%{?v_rc}%{?dist}.1
|
||||
Release: 3%{?v_rc}%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.varnish-cache.org/
|
||||
@ -27,6 +27,7 @@ Patch1: varnish-5.1.1.fix_ld_library_path_in_doc_build.patch
|
||||
Patch4: varnish-4.0.3_fix_varnish4_selinux.el6.patch
|
||||
Patch6: varnish-4.1.0.fix_find-provides.patch
|
||||
Patch9: varnish-5.1.1.fix_python_version.patch
|
||||
Patch10: varnish-vsv00001.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -396,6 +397,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Aug 02 2017 Patrick Uiterwijk <patrick@puiterwijk.org> - 5.1.2-3
|
||||
- Added patch for vsv00001
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-1.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user