diff options
author | Chris Bainbridge <chrb@gentoo.org> | 2005-05-21 10:57:26 +0000 |
---|---|---|
committer | Chris Bainbridge <chrb@gentoo.org> | 2005-05-21 10:57:26 +0000 |
commit | 8795d73482471d376d0c0f4b4e32a8d085e9cd30 (patch) | |
tree | ed898ded5da52a716f0f1b31a6fc8dd234081967 /app-cdr/xbiso | |
parent | added configure patch, kino installed some files into the wrong location. fix... (diff) | |
download | historical-8795d73482471d376d0c0f4b4e32a8d085e9cd30.tar.gz historical-8795d73482471d376d0c0f4b4e32a8d085e9cd30.tar.bz2 historical-8795d73482471d376d0c0f4b4e32a8d085e9cd30.zip |
fix patch
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-cdr/xbiso')
-rw-r--r-- | app-cdr/xbiso/Manifest | 2 | ||||
-rw-r--r-- | app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch | 22 |
2 files changed, 13 insertions, 11 deletions
diff --git a/app-cdr/xbiso/Manifest b/app-cdr/xbiso/Manifest index 7f124c0675c8..804dc48a72ba 100644 --- a/app-cdr/xbiso/Manifest +++ b/app-cdr/xbiso/Manifest @@ -1,4 +1,4 @@ MD5 f1d39402733e67cb455f6099d74b766f ChangeLog 569 MD5 4ec40e1b2c466d39ce4f4f1716b4c693 xbiso-0.6.0.ebuild 579 -MD5 d928741ffaf5aaa598aad25b9c9da993 files/xbiso-0.6.0-fnamecheck.patch 691 +MD5 01f701ccc3910ac690c296beb6747f61 files/xbiso-0.6.0-fnamecheck.patch 1466 MD5 33080cee554b29175fc0e2cb37cf8fe2 files/digest-xbiso-0.6.0 62 diff --git a/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch b/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch index 7b7388a3554b..932b66d4d86c 100644 --- a/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch +++ b/app-cdr/xbiso/files/xbiso-0.6.0-fnamecheck.patch @@ -1,14 +1,16 @@ ---- xbiso-0.6.0.orig/xbiso.c 2005-05-21 10:36:11.108385944 +0000 -+++ xbiso-0.6.0/xbiso.c 2005-05-21 10:33:09.679967256 +0000 -@@ -310,6 +310,11 @@ +--- xbiso-0.6.0.orig/xbiso.c 2004-01-25 17:53:05.000000000 +0000 ++++ xbiso-0.6.0/xbiso.c 2005-05-21 11:56:21.729060440 +0000 +@@ -309,7 +309,12 @@ + memset(dirent.fname,0,dirent.fnamelen+1); fread(dirent.fname, dirent.fnamelen, 1, xiso); //filename - -+ if (strstr(dirent.fname,"..") || strchr(dirent.fname, '/') || strchr(dirent.fname, '\\')) -+ { -+ printf("Filename contains invalid characters"); -+ exit(1); -+ } - +- ++ ++ if (strstr(dirent.fname,"..") || strchr(dirent.fname, '/') || strchr(dirent.fname, '\\')) ++ { ++ printf("Filename contains invalid characters"); ++ exit(1); ++ } + if(verb) { printf("ltable offset: %i\nrtable offset: %i\nsector: %li\nfilesize: %li\nattributes: 0x%x\nfilename length: %i\nfilename: %s\n\n", dirent.ltable, dirent.rtable, dirent.sector, dirent.size, dirent.attribs, dirent.fnamelen, dirent.fname); |