file ver. bump

This commit is contained in:
Rmys
2024-12-22 18:20:58 +03:00
parent 20eee31e03
commit 6b4d16d2e4
2 changed files with 40 additions and 2 deletions
@@ -0,0 +1,31 @@
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 fe4cf5413..d209d86df 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;
+9 -2
View File
@@ -12,7 +12,7 @@
<IsA>app:console</IsA>
<Summary>Program to identify a file's format by scanning binary data for patterns</Summary>
<Description>Program to identify a file's format by scanning binary data for patterns.</Description>
<Archive sha1sum="e8ee39339e5d3d68b7da9c45580f2ca5faf0db54" type="targz">ftp://ftp.astron.com/pub/file/file-5.45.tar.gz</Archive>
<Archive sha1sum="af74daeac411a665b071a71ec89d3a3020647309" type="targz">ftp://ftp.astron.com/pub/file/file-5.46.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<!-- remove python dependencies while bootstrap -->
@@ -20,7 +20,7 @@
<Dependency>python-setuptools</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">file-5.38-seccomp-tcgets.patch</Patch> -->
<Patch level="1">0001-PR-579-net147-Fix-stack-overrun.patch</Patch>
<!-- <Patch level="1">0001-Revert-Don-t-depend-on-the-execute-bit-to-determine-.patch</Patch> -->
</Patches>
</Source>
@@ -42,6 +42,13 @@
</Package>
<History>
<Update release="12">
<Date>2024-12-05</Date>
<Version>5.46</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="11">
<Date>2023-11-17</Date>
<Version>5.45</Version>