diff --git a/system/base/file/files/0001-PR-579-net147-Fix-stack-overrun.patch b/system/base/file/files/0001-PR-579-net147-Fix-stack-overrun.patch new file mode 100644 index 00000000..96495455 --- /dev/null +++ b/system/base/file/files/0001-PR-579-net147-Fix-stack-overrun.patch @@ -0,0 +1,31 @@ +From b3384a1fbfa1fee99986e5750ab8e700de4f24ad Mon Sep 17 00:00:00 2001 +From: Christos Zoulas +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; diff --git a/system/base/file/pspec.xml b/system/base/file/pspec.xml index d076f850..92a558ce 100644 --- a/system/base/file/pspec.xml +++ b/system/base/file/pspec.xml @@ -12,7 +12,7 @@ app:console Program to identify a file's format by scanning binary data for patterns Program to identify a file's format by scanning binary data for patterns. - ftp://ftp.astron.com/pub/file/file-5.45.tar.gz + ftp://ftp.astron.com/pub/file/file-5.46.tar.gz zlib-devel @@ -20,7 +20,7 @@ python-setuptools - + 0001-PR-579-net147-Fix-stack-overrun.patch @@ -42,6 +42,13 @@ + + 2024-12-05 + 5.46 + Version bump. + Pisi Linux Community + admin@pisilinux.org + 2023-11-17 5.45