wok-4.x view glibc/stuff/patches/glibc-2.22-CVE-2016-6323.patch @ rev 12476

Up glibc (2.22) with CVE patchs
author Stanislas Leduc <shann@slitaz.org>
date Wed Mar 15 11:41:38 2023 +0000 (16 months ago)
parents
children
line source
1 Based on
3 From 9e2ff6c9cc54c0b4402b8d49e4abe7000fde7617 Mon Sep 17 00:00:00 2001
4 From: Andreas Schwab <schwab@suse.de>
5 Date: Mon, 8 Aug 2016 09:29:18 +0200
6 Subject: [PATCH] arm: mark __startcontext as .cantunwind (bug 20435)
8 diff -Naur a/sysdeps/unix/sysv/linux/arm/setcontext.S b/sysdeps/unix/sysv/linux/arm/setcontext.S
9 --- a/sysdeps/unix/sysv/linux/arm/setcontext.S 2017-12-18 12:08:38.222265391 +0530
10 +++ b/sysdeps/unix/sysv/linux/arm/setcontext.S 2017-12-18 12:09:15.202264587 +0530
11 @@ -86,12 +86,19 @@
13 /* Called when a makecontext() context returns. Start the
14 context in R4 or fall through to exit(). */
15 + /* Unwind descriptors are looked up based on PC - 2, so we have to
16 + make sure to mark the instruction preceding the __startcontext
17 + label as .cantunwind. */
18 + .fnstart
19 + .cantunwind
20 + nop
21 ENTRY(__startcontext)
22 movs r0, r4
23 bne PLTJMP(__setcontext)
25 @ New context was 0 - exit
26 b PLTJMP(HIDDEN_JUMPTARGET(exit))
27 + .fnend
28 END(__startcontext)
30 #ifdef PIC