update to glibc-2.28-151.el8.src.rpm
Signed-off-by: Liwei Ge <geliwei@openanolis.org>
This commit is contained in:
parent
ba6a26df65
commit
37da1d0798
284 changed files with 62546 additions and 13 deletions
26
glibc-rh1845098-3.patch
Normal file
26
glibc-rh1845098-3.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
commit f6add169c89bbdd139a2eb845686127ead5799cd
|
||||
Author: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
|
||||
Date: Tue Jul 21 18:01:39 2020 -0300
|
||||
|
||||
powerpc: Fix POWER10 selection
|
||||
|
||||
Add a line that was missing from a previous commit.
|
||||
Without increasing str, the null-byte is not validated, and
|
||||
_dl_string_platform returns -1.
|
||||
|
||||
Fixes: d2ba3677da7a ("powerpc: Add support for POWER10")
|
||||
|
||||
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
|
||||
|
||||
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h
|
||||
index 3558d6a83ca2a988..3593e9661b06dcff 100644
|
||||
--- a/sysdeps/powerpc/dl-procinfo.h
|
||||
+++ b/sysdeps/powerpc/dl-procinfo.h
|
||||
@@ -96,6 +96,7 @@ _dl_string_platform (const char *str)
|
||||
if (str[1] == '0')
|
||||
{
|
||||
ret = _DL_FIRST_PLATFORM + PPC_PLATFORM_POWER10;
|
||||
+ str++;
|
||||
}
|
||||
else
|
||||
return -1;
|
Loading…
Add table
Add a link
Reference in a new issue