fixed bz#1348507, pyqt5 with python2 in isolated mode
This commit is contained in:
parent
f74647474b
commit
c1ab788aba
@ -3,6 +3,6 @@
|
||||
if [ $? -eq 0 ]; then
|
||||
exec @PYTHON3@ -Im PyQt5.pylupdate_main ${1+"$@"}
|
||||
else
|
||||
exec @PYTHON2@ -Esm PyQt5.pylupdate_main ${1+"$@"}
|
||||
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.pylupdate_main; PyQt5.pylupdate_main.main()" ${1+"$@"}
|
||||
|
||||
fi
|
||||
|
@ -3,5 +3,5 @@
|
||||
if [ $? -eq 0 ]; then
|
||||
exec @PYTHON3@ -Im PyQt5.pyrcc_main ${1+"$@"}
|
||||
else
|
||||
exec @PYTHON2@ -Esm PyQt5.pyrcc_main ${1+"$@"}
|
||||
exec @PYTHON2@ -c "import sys; del sys.path[0]; import PyQt5.pyrcc_main; PyQt5.pyrcc_main.main()" ${1+"$@"}
|
||||
fi
|
||||
|
@ -20,7 +20,7 @@
|
||||
Summary: PyQt5 is Python bindings for Qt5
|
||||
Name: python-qt5
|
||||
Version: 5.9
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
# all BSD, except for GPLv2+ dbus bindings and examples
|
||||
License: BSD and GPLv2+
|
||||
@ -456,6 +456,9 @@ sed -i \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 27 2017 Than Ngo <than@redhat.com> - 5.9-4
|
||||
- fixed bz#1348507, pyqt5 with python2 in isolated mode
|
||||
|
||||
* Wed Jul 26 2017 Than Ngo <than@redhat.com> - 5.9-3
|
||||
- fixed bz#1348507 - Arbitrary code execution due to insecure loading
|
||||
of Python module from CWD
|
||||
|
Loading…
Reference in New Issue
Block a user