diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-22 10:13:45 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-08-22 10:13:45 +0200 |
commit | 04a50af38f1ab21fbaa3c6fd7542a5d648538cfc (patch) | |
tree | 3ff0837aec997ab9da2976075ee528ceb5530965 /media-sound/id3ted/files | |
parent | media-sound/picard: 2.0.3 version bump (diff) | |
download | gentoo-04a50af38f1ab21fbaa3c6fd7542a5d648538cfc.tar.gz gentoo-04a50af38f1ab21fbaa3c6fd7542a5d648538cfc.tar.bz2 gentoo-04a50af38f1ab21fbaa3c6fd7542a5d648538cfc.zip |
media-sound/id3ted: 1.0 version bump, EAPI-7
Closes: https://bugs.gentoo.org/534716
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'media-sound/id3ted/files')
-rw-r--r-- | media-sound/id3ted/files/id3ted-1.0-outofbounds.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/id3ted/files/id3ted-1.0-outofbounds.patch b/media-sound/id3ted/files/id3ted-1.0-outofbounds.patch new file mode 100644 index 000000000000..919ed90e593f --- /dev/null +++ b/media-sound/id3ted/files/id3ted-1.0-outofbounds.patch @@ -0,0 +1,22 @@ +From a044c5659bf29df8152feabba63a83dc6feb7a99 Mon Sep 17 00:00:00 2001 +From: denmord <denis.khabenkov@gmail.com> +Date: Fri, 20 Jan 2017 20:36:31 +0300 +Subject: [PATCH] Fixed writing outside the bounds of the array + +--- + fileio.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/fileio.cpp b/fileio.cpp +index 35d992f..edfe2de 100644 +--- a/fileio.cpp ++++ b/fileio.cpp +@@ -154,7 +154,7 @@ FileIO::Status FileIO::resetTimes(const char *filename, const FileTimes ×) + } + + FileIO::Status FileIO::createDir(const char *path) { +- char *directory = new char[strlen(path + 1)]; ++ char *directory = new char[strlen(path) + 1]; + char *curr = directory; + struct stat stats; + Status ret = Success; |