Add patch to fix CVE-2022-45939

This commit is contained in:
Dan Čermák 2022-12-01 15:34:20 +01:00
parent b7ecd22927
commit d21b022666
No known key found for this signature in database
GPG Key ID: 8F8C178E966641D3
2 changed files with 9297 additions and 0 deletions

View File

@ -26,6 +26,8 @@ Patch3: emacs-libdir-vs-systemd.patch
Patch4: emacs-pdmp-fingerprint.patch
Patch5: emacs-configure-c99-1.patch
Patch6: emacs-configure-c99-2.patch
# CVE-2022-45939
Patch7: https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51#./fixed-ctags-local-command-execute-vulnerability.patch
BuildRequires: gcc
BuildRequires: atk-devel
@ -208,6 +210,7 @@ cp -p %{SOURCE3} lib/
%patch4 -p1 -b .pdmp-fingerprint
%patch5 -p1
%patch6 -p1
%patch7 -p1 -b .ctags-local-execution-cve
autoconf
grep -v "tetris.elc" lisp/Makefile.in > lisp/Makefile.in.new \
@ -517,6 +520,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
%changelog
* Tue Nov 1 2022 Dan Čermák <dan.cermak@cgc-instruments.com> - 1:28.2-1
- New upstream release 28.2, fixes rhbz#2126048
- Add patch to fix CVE-2022-45939, fixes rhbz#2149381
* Fri Dec 23 2022 Florian Weimer <fweimer@redhat.com> - 1:28.1-4
- C99 compatibility fixes for the configure script

File diff suppressed because it is too large Load Diff