mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
As noted by Celeste at [0], it's in general not recommended to use URL-based
patches. Back when the patch was merged, that was deemed OK for 'master' though.
As the download of the patch file is now indeed failing due to a changed
checksum, use the opportunity to import the patch into the repo (as was done on
the stable branches via e89c62d8
for example).
Please note that the checksum has changed because the patch was downloaded with
the '?full_index=1' option.
[0]: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/77814#note_470256
31 lines
1,004 B
Diff
31 lines
1,004 B
Diff
From b3384a1fbfa1fee99986e5750ab8e700de4f24ad Mon Sep 17 00:00:00 2001
|
|
From: Christos Zoulas <christos@zoulas.com>
|
|
Date: Thu, 5 Dec 2024 18:35:40 +0000
|
|
Subject: [PATCH] PR/579: net147: Fix stack overrun.
|
|
|
|
---
|
|
src/readelf.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/readelf.c b/src/readelf.c
|
|
index fe4cf54138955e1c19c6c48d324c0cc787a75eee..d209d86dfb5a29c2c6550227c65bfd28d0137ad2 100644
|
|
--- a/src/readelf.c
|
|
+++ b/src/readelf.c
|
|
@@ -27,7 +27,7 @@
|
|
#include "file.h"
|
|
|
|
#ifndef lint
|
|
-FILE_RCSID("@(#)$File: readelf.c,v 1.196 2024/11/11 15:49:11 christos Exp $")
|
|
+FILE_RCSID("@(#)$File: readelf.c,v 1.197 2024/12/05 18:35:40 christos Exp $")
|
|
#endif
|
|
|
|
#ifdef BUILTIN_ELF
|
|
@@ -1726,7 +1726,7 @@ dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off,
|
|
Elf64_Phdr ph64;
|
|
const char *linking_style;
|
|
unsigned char nbuf[NBUFSIZE];
|
|
- char interp[128];
|
|
+ char interp[NBUFSIZE];
|
|
ssize_t bufsize;
|
|
size_t offset, align, need = 0;
|
|
int pie = 0, dynamic = 0;
|