This is an automated email from the git hooks/post-receive script. ntyni pushed a commit to branch master in repository libdata-uuid-libuuid-perl.
commit 9f9db4579bd84106998c40a468e1b4cd83eae48c Author: Niko Tyni <nt...@debian.org> Date: Tue Dec 6 23:31:16 2016 +0200 Fix a use of uninitialized memory in new_uuid() Closes: #847278 --- ...uninitialized-memory-in-new_uuid-when-ver.patch | 30 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) diff --git a/debian/patches/0003-Fix-use-of-uninitialized-memory-in-new_uuid-when-ver.patch b/debian/patches/0003-Fix-use-of-uninitialized-memory-in-new_uuid-when-ver.patch new file mode 100644 index 0000000..b92eef8 --- /dev/null +++ b/debian/patches/0003-Fix-use-of-uninitialized-memory-in-new_uuid-when-ver.patch @@ -0,0 +1,30 @@ +From 6f747cec7748c7aeeecf03a2f2f316f0bfcc0357 Mon Sep 17 00:00:00 2001 +From: Niko Tyni <nt...@debian.org> +Date: Tue, 6 Dec 2016 23:20:55 +0200 +Subject: [PATCH 3/3] Fix use of uninitialized memory in new_uuid() when + version==1 + +This was discovered by running the test under valgrind. + +Bug-Debian: https://bugs.debian.org/847278 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=119149 +--- + LibUUID.xs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/LibUUID.xs b/LibUUID.xs +index 34d757d..1a3393c 100644 +--- a/LibUUID.xs ++++ b/LibUUID.xs +@@ -74,7 +74,7 @@ STATIC void new_uuid (IV version, uuid_t uuid) { + case UUID_TYPE_RANDOM: + uuid_generate_random(uuid); + break; +- ggdefault: ++ default: + uuid_generate(uuid); + } + } +-- +2.10.2 + diff --git a/debian/patches/series b/debian/patches/series index 4f3a6a1..11c9ff8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 0001-TODO-tests-for-base64-decoding-failures.patch 0002-Check-that-a-base64-decoded-string-is-long-enough-to.patch +0003-Fix-use-of-uninitialized-memory-in-new_uuid-when-ver.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-uuid-libuuid-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits