summaryrefslogtreecommitdiff
path: root/app-forensics/foremost/files/foremost-1.5.7-format-security.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-forensics/foremost/files/foremost-1.5.7-format-security.patch
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-forensics/foremost/files/foremost-1.5.7-format-security.patch')
-rw-r--r--app-forensics/foremost/files/foremost-1.5.7-format-security.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-forensics/foremost/files/foremost-1.5.7-format-security.patch b/app-forensics/foremost/files/foremost-1.5.7-format-security.patch
deleted file mode 100644
index 32d1a4d3c7f6..000000000000
--- a/app-forensics/foremost/files/foremost-1.5.7-format-security.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/extract.c b/extract.c
-index 30bdf54..9639117 100755
---- a/extract.c
-+++ b/extract.c
-@@ -2110,7 +2110,6 @@ unsigned char *extract_exe(f_state *s, u_int64_t c_offset, unsigned char *founda
- int i = 0;
- time_t compile_time = 0;
- struct tm *ret_time;
-- char comment[32];
- char ascii_time[32];
-
- if (buflen < 100)
-@@ -2145,8 +2144,7 @@ unsigned char *extract_exe(f_state *s, u_int64_t c_offset, unsigned char *founda
- ret_time->tm_sec);
- chop(ascii_time);
-
-- sprintf(comment, ascii_time);
-- strcat(needle->comment, comment);
-+ strcat(needle->comment, ascii_time);
- exe_char = htos(&foundat[22], FOREMOST_LITTLE_ENDIAN);
- if (exe_char & 0x2000)
- {