import UBI brotli-1.0.9-7.el9_5
This commit is contained in:
parent
6c122feccc
commit
3f278981ee
14
SOURCES/RHEL-32153-kBrotliBitMask-bounds.patch
Normal file
14
SOURCES/RHEL-32153-kBrotliBitMask-bounds.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
--- brotli-1.0.9/c/dec/bit_reader.h.RHEL-32153-kBrotliBitMask-bounds 2020-08-27 16:12:55.000000000 +0200
|
||||||
|
+++ brotli-1.0.9/c/dec/bit_reader.h 2024-09-11 12:42:29.143308077 +0200
|
||||||
|
@@ -28,8 +28,10 @@ static BROTLI_INLINE uint32_t BitMask(ui
|
||||||
|
/* Masking with this expression turns to a single
|
||||||
|
"Unsigned Bit Field Extract" UBFX instruction on ARM. */
|
||||||
|
return ~((0xFFFFFFFFu) << n);
|
||||||
|
- } else {
|
||||||
|
+ } else if (n < 33) {
|
||||||
|
return kBrotliBitMask[n];
|
||||||
|
+ } else {
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: brotli
|
Name: brotli
|
||||||
Version: 1.0.9
|
Version: 1.0.9
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Lossless compression algorithm
|
Summary: Lossless compression algorithm
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,6 +8,7 @@ URL: https://github.com/google/brotli
|
|||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: 09b0992b6acb7faa6fd3b23f9bc036ea117230fc.patch
|
Patch0: 09b0992b6acb7faa6fd3b23f9bc036ea117230fc.patch
|
||||||
|
Patch1: RHEL-32153-kBrotliBitMask-bounds.patch
|
||||||
|
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel
|
BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel
|
||||||
@ -139,6 +140,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 11 2024 Eike Rathke <erack@redhat.com> - 1.0.9-7
|
||||||
|
- Check BitMask(n) n value for kBrotliBitMask[n] bounds
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.9-6
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.9-6
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user