Fix crash in pacrunner module (#1459779)
Resurrect a mistakenly-dropped patch.
This commit is contained in:
parent
d70bb4f3e0
commit
3224214922
12
libproxy-pacrunner-crash-fix.patch
Normal file
12
libproxy-pacrunner-crash-fix.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up libproxy-0.4.11/libproxy/extension_pacrunner.cpp.mozjscrash libproxy-0.4.11/libproxy/extension_pacrunner.cpp
|
||||
--- libproxy-0.4.11/libproxy/extension_pacrunner.cpp.mozjscrash 2010-07-29 08:14:59.000000000 -0400
|
||||
+++ libproxy-0.4.11/libproxy/extension_pacrunner.cpp 2013-09-19 09:22:13.031263766 -0400
|
||||
@@ -35,6 +35,7 @@ pacrunner* pacrunner_extension::get(stri
|
||||
if (this->last == pac)
|
||||
return this->pr;
|
||||
delete this->pr;
|
||||
+ this->pr = NULL;
|
||||
}
|
||||
|
||||
return this->pr = this->create(pac, pacurl);
|
||||
diff -up libproxy-0.4.11/libproxy/modules/pacrunner_mozjs.cpp.mozjscrash libproxy-0.4.11/libproxy/modules/pacrunner_mozjs.cpp
|
@ -15,6 +15,7 @@ Source0: https://github.com/libproxy/%{name}/archive/%{version}.tar.gz
|
||||
Source1: proxy.1
|
||||
# http://code.google.com/p/libproxy/issues/detail?id=152
|
||||
Patch0: 0001-Add-config-module-for-querying-PacRunner-d-mon.patch
|
||||
Patch1: libproxy-pacrunner-crash-fix.patch
|
||||
|
||||
BuildRequires: libmodman-devel >= 2.0.1
|
||||
BuildRequires: cmake >= 2.6.0
|
||||
@ -242,6 +243,7 @@ make test
|
||||
%changelog
|
||||
* Thu Jul 13 2017 David King <amigadave@amigadave.com> - 0.4.15-2
|
||||
- Use pkgconfig for BuildRequires
|
||||
- Fix crash in pacrunner module (#1459779)
|
||||
|
||||
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.15-1
|
||||
- Update to 0.4.15
|
||||
|
Loading…
Reference in New Issue
Block a user