diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-04 23:16:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-04 23:16:45 +0000 |
commit | be40d1d309ad409d5a0b7e4897c604efa8ebe7a3 (patch) | |
tree | 8cb41e9dc4cef0bf2e01549f0dea4bb65caf78a5 /dev-libs/libcdio/files | |
parent | Change ucspi-tcp license to public domain and fix unquoted vars. (diff) | |
download | gentoo-2-be40d1d309ad409d5a0b7e4897c604efa8ebe7a3.tar.gz gentoo-2-be40d1d309ad409d5a0b7e4897c604efa8ebe7a3.tar.bz2 gentoo-2-be40d1d309ad409d5a0b7e4897c604efa8ebe7a3.zip |
Fix patch for bug #203777 for an off by one. Straight-to-stable commit.
(Portage version: 2.1.4_rc14, RepoMan options: --force)
Diffstat (limited to 'dev-libs/libcdio/files')
-rw-r--r-- | dev-libs/libcdio/files/digest-libcdio-0.78.2-r3 (renamed from dev-libs/libcdio/files/digest-libcdio-0.78.2-r2) | 0 | ||||
-rw-r--r-- | dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/libcdio/files/digest-libcdio-0.78.2-r2 b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r3 index 6fcd9e480dcb..6fcd9e480dcb 100644 --- a/dev-libs/libcdio/files/digest-libcdio-0.78.2-r2 +++ b/dev-libs/libcdio/files/digest-libcdio-0.78.2-r3 diff --git a/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch index 18b12c9d1618..9458eb4d3029 100644 --- a/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch +++ b/dev-libs/libcdio/files/libcdio-0.78.2-bug203777.patch @@ -6,7 +6,7 @@ diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/cd-info.c libcdio-0.78.2/ char *psz_iso_name = p_statbuf->filename; char _fullname[4096] = { 0, }; - char translated_name[MAX_ISONAME+1]; -+ char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); ++ char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { iso9660_name_translate_ext(psz_iso_name, translated_name, @@ -18,7 +18,7 @@ diff -Naur libcdio-0.78.2-orig/work/libcdio-0.78.2/src/iso-info.c libcdio-0.78.2 char *psz_iso_name = p_statbuf->filename; char _fullname[4096] = { 0, }; - char translated_name[MAX_ISONAME+1]; -+ char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); ++ char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); + if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { |