diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0001-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/meta/recipes-core/glibc/glibc/0001-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch b/meta/recipes-core/glibc/glibc/0001-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch index 1c625f63c7..1a343149c0 100644 --- a/meta/recipes-core/glibc/glibc/0001-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch +++ b/meta/recipes-core/glibc/glibc/0001-x86-64-memcmp-Use-unsigned-Jcc-instructions-on-size-.patch | |||
@@ -21,33 +21,14 @@ Tested on x86-64 and x32, with and without --disable-multi-arch. | |||
21 | CVE: CVE-2019-7309 | 21 | CVE: CVE-2019-7309 |
22 | Upstream-Status: Backport | 22 | Upstream-Status: Backport |
23 | Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> | 23 | Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> |
24 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> | ||
24 | --- | 25 | --- |
25 | ChangeLog | 11 ++++ | ||
26 | sysdeps/x86_64/memcmp.S | 20 +++--- | 26 | sysdeps/x86_64/memcmp.S | 20 +++--- |
27 | sysdeps/x86_64/x32/Makefile | 3 +- | 27 | sysdeps/x86_64/x32/Makefile | 3 +- |
28 | sysdeps/x86_64/x32/tst-size_t-memcmp-2.c | 79 ++++++++++++++++++++++++ | 28 | sysdeps/x86_64/x32/tst-size_t-memcmp-2.c | 79 ++++++++++++++++++++++++ |
29 | 5 files changed, 111 insertions(+), 10 deletions(-) | 29 | 5 files changed, 111 insertions(+), 10 deletions(-) |
30 | create mode 100644 sysdeps/x86_64/x32/tst-size_t-memcmp-2.c | 30 | create mode 100644 sysdeps/x86_64/x32/tst-size_t-memcmp-2.c |
31 | 31 | ||
32 | diff --git a/ChangeLog b/ChangeLog | ||
33 | index 29bc4451ef..a0dcdac323 100644 | ||
34 | --- a/ChangeLog | ||
35 | +++ b/ChangeLog | ||
36 | @@ -1,3 +1,14 @@ | ||
37 | +2019-02-04 H.J. Lu <hongjiu.lu@intel.com> | ||
38 | + | ||
39 | + [BZ #24155] | ||
40 | + CVE-2019-7309 | ||
41 | + * NEWS: Updated for CVE-2019-7309. | ||
42 | + * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the | ||
43 | + upper 32 bits of RDX register for x32. Use unsigned Jcc | ||
44 | + instructions, instead of signed. | ||
45 | + * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2. | ||
46 | + * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test. | ||
47 | + | ||
48 | 2019-01-31 Carlos O'Donell <carlos@redhat.com> | ||
49 | Torvald Riegel <triegel@redhat.com> | ||
50 | Rik Prohaska <prohaska7@gmail.com> | ||
51 | diff --git a/sysdeps/x86_64/memcmp.S b/sysdeps/x86_64/memcmp.S | 32 | diff --git a/sysdeps/x86_64/memcmp.S b/sysdeps/x86_64/memcmp.S |
52 | index 1fc487caa5..1322bb3b92 100644 | 33 | index 1fc487caa5..1322bb3b92 100644 |
53 | --- a/sysdeps/x86_64/memcmp.S | 34 | --- a/sysdeps/x86_64/memcmp.S |