diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-11-05 23:33:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-05 23:33:19 +0100 |
commit | 68307b2bcfc9d9ce148580905f539cb79a892781 (patch) | |
tree | a8a0b80d14bc490ce591d2b16f9047b5c17c1529 /app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch | |
parent | app-mobilephone/cobex: Remove last-rited pkg (diff) | |
download | gentoo-68307b2bcfc9d9ce148580905f539cb79a892781.tar.gz gentoo-68307b2bcfc9d9ce148580905f539cb79a892781.tar.bz2 gentoo-68307b2bcfc9d9ce148580905f539cb79a892781.zip |
app-cdr/xdvdfs-tools: Remove last-rited pkg
Bug: https://bugs.gentoo.org/696252
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch')
-rw-r--r-- | app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch b/app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch deleted file mode 100644 index 4d06822eb06c..000000000000 --- a/app-cdr/xdvdfs-tools/files/xdvdfs-tools-2.1-fnamefix.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- XDVDFS_Tools.orig/src/xdvdfs/xdvdfs.c 2003-08-15 23:26:58.000000000 +0000 -+++ XDVDFS_Tools/src/xdvdfs/xdvdfs.c 2005-05-21 12:13:55.655839216 +0000 -@@ -157,6 +157,14 @@ - memcpy(SearchRecord->Filename, Entry->Filename, Entry->FilenameLength); - SearchRecord->Filename[Entry->FilenameLength] = 0; - -+ if (strstr(SearchRecord->Filename,"..") || -+ strchr(SearchRecord->Filename, '/') || -+ strchr(SearchRecord->Filename, '\\')) -+ { -+ printf("Filename contains invalid characters\n"); -+ exit(1); -+ } -+ - // Copy file parameters in the search_rec - SearchRecord->Attributes = Entry->FileAttributes; - SearchRecord->FileSize = ENDIAN_SAFE32(Entry->FileSize); |