Package init
This commit is contained in:
parent
e152a98f2b
commit
786030ee39
@ -15,14 +15,14 @@ unsigned representation is used consistently throughout.
|
|||||||
This patch fixes CVE-2017-9778 and PR gdb/21600.
|
This patch fixes CVE-2017-9778 and PR gdb/21600.
|
||||||
|
|
||||||
2019-04-25 Sandra Loosemore <sandra@codesourcery.com>
|
2019-04-25 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
Kang Li <kanglictf@gmail.com>
|
Kang Li <kanglictf@gmail.com>
|
||||||
|
|
||||||
PR gdb/21600
|
PR gdb/21600
|
||||||
|
|
||||||
* dwarf2-frame.c (read_initial_length): Be consistent about using
|
* dwarf2-frame.c (read_initial_length): Be consistent about using
|
||||||
unsigned representation of length.
|
unsigned representation of length.
|
||||||
(decode_frame_entry_1): Likewise. Check for wraparound of
|
(decode_frame_entry_1): Likewise. Check for wraparound of
|
||||||
end pointer as well as buffer overflow.
|
end pointer as well as buffer overflow.
|
||||||
---
|
---
|
||||||
gdb/ChangeLog | 10 ++++++++++
|
gdb/ChangeLog | 10 ++++++++++
|
||||||
gdb/dwarf2-frame.c | 14 +++++++-------
|
gdb/dwarf2-frame.c | 14 +++++++-------
|
||||||
@ -34,7 +34,7 @@ index e2bf61b..b697afa 100644
|
|||||||
+++ b/gdb/dwarf2-frame.c
|
+++ b/gdb/dwarf2-frame.c
|
||||||
@@ -1487,7 +1487,7 @@ static ULONGEST
|
@@ -1487,7 +1487,7 @@ static ULONGEST
|
||||||
read_initial_length (bfd *abfd, const gdb_byte *buf,
|
read_initial_length (bfd *abfd, const gdb_byte *buf,
|
||||||
unsigned int *bytes_read_ptr)
|
unsigned int *bytes_read_ptr)
|
||||||
{
|
{
|
||||||
- LONGEST result;
|
- LONGEST result;
|
||||||
+ ULONGEST result;
|
+ ULONGEST result;
|
||||||
|
|||||||
11
gdb.spec
11
gdb.spec
@ -1,6 +1,6 @@
|
|||||||
Name: gdb
|
Name: gdb
|
||||||
Version: 8.2
|
Version: 8.2
|
||||||
Release: 6
|
Release: 5
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
|
||||||
Source: ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.xz
|
Source: ftp://sourceware.org/pub/gdb/releases/gdb-%{version}.tar.xz
|
||||||
@ -8,7 +8,6 @@ URL: http://gnu.org/software/gdb/
|
|||||||
|
|
||||||
%global gdb_src gdb-%{version}
|
%global gdb_src gdb-%{version}
|
||||||
%global gdb_build build-%{_target_platform}
|
%global gdb_build build-%{_target_platform}
|
||||||
%global __python %{__python3}
|
|
||||||
|
|
||||||
%undefine _debuginfo_subpackages
|
%undefine _debuginfo_subpackages
|
||||||
|
|
||||||
@ -180,7 +179,7 @@ Patch132: gdb-rhbz1491128-batch-mode-exit-status-1of2.patch
|
|||||||
Patch133: gdb-rhbz1491128-batch-mode-exit-status-2of2.patch
|
Patch133: gdb-rhbz1491128-batch-mode-exit-status-2of2.patch
|
||||||
Patch134: gdb-use-pulongest-aarch64-linux-tdep.patch
|
Patch134: gdb-use-pulongest-aarch64-linux-tdep.patch
|
||||||
|
|
||||||
#Patch6000: gdb-Detect-invalid-length-field-in-debug-frame-FDE-header.patch
|
Patch6000: gdb-Detect-invalid-length-field-in-debug-frame-FDE-header.patch
|
||||||
|
|
||||||
BuildRequires: rpm-libs
|
BuildRequires: rpm-libs
|
||||||
BuildRequires: readline-devel >= 6.2-4
|
BuildRequires: readline-devel >= 6.2-4
|
||||||
@ -429,12 +428,6 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gdb/python/gdb/command/backtrace.py
|
|||||||
%{_infodir}/gdb.info*
|
%{_infodir}/gdb.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 24 2019 yuxiangyang<yuxiangyang4@huawei.com> - 8.2-6
|
|
||||||
- Type:bugfix
|
|
||||||
- ID:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC: Modify the requirement about python2/3 when compilation rpm.
|
|
||||||
|
|
||||||
* Thu Dec 19 2019 yeyunfeng<yeyunfeng@huawei.com> - 8.2-5
|
* Thu Dec 19 2019 yeyunfeng<yeyunfeng@huawei.com> - 8.2-5
|
||||||
- Type:cves
|
- Type:cves
|
||||||
- ID:CVE-2017-9778
|
- ID:CVE-2017-9778
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user