Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 853510 Details for
Bug 893776
sys-apps/busybox: src_compile fails with FORTIFY_SOURCE=3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] fixdep: avoid underflow when end of entry doesn't coincide
0001-fixdep-avoid-underflow-when-end-of-entry-doesn-t-coi.patch (text/plain), 996 bytes, created by
Arsen Arsenović
on 2023-02-21 18:41:38 UTC
(
hide
)
Description:
[PATCH] fixdep: avoid underflow when end of entry doesn't coincide
Filename:
MIME Type:
Creator:
Arsen Arsenović
Created:
2023-02-21 18:41:38 UTC
Size:
996 bytes
patch
obsolete
>From 1b1b72dc405fd162fefe0f71bec4746b0ebf5b36 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@gentoo.org> >Date: Tue, 21 Feb 2023 19:22:46 +0100 >Subject: [PATCH] fixdep: avoid underflow when end of entry doesn't coincide > with EOF >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Arsen ArsenoviÄ <arsen@gentoo.org> >--- > scripts/basic/fixdep.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c >index 426b4888b..66be73aad 100644 >--- a/scripts/basic/fixdep.c >+++ b/scripts/basic/fixdep.c >@@ -338,6 +338,11 @@ void parse_dep_file(void *map, size_t len) > do p--; while (!isalnum((unsigned char)*p)); > p++; > } >+ if (p < m) { >+ /* we've consumed the last filename of this list >+ already. */ >+ break; >+ } > memcpy(s, m, p-m); s[p-m] = 0; > if (strrcmp(s, "include/autoconf.h") && > strrcmp(s, "arch/um/include/uml-config.h") && >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 893776
:
850310
| 853510