diff options
Diffstat (limited to 'media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch')
-rw-r--r-- | media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch new file mode 100644 index 000000000000..a85e41cd1f10 --- /dev/null +++ b/media-plugins/caps-plugins/files/caps-plugins-0.4.5-double-free-corruption.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/show_bug.cgi?id=418241 + +--- interface.cc.orig 2012-08-11 07:35:45.723235289 -0300 ++++ interface.cc 2012-08-11 07:36:46.656565620 -0300 +@@ -128,8 +128,10 @@ + __attribute__ ((destructor)) + void _fini() + { +- for (ulong i = 0; i < N; ++i) ++ for (ulong i = 0; i < N; ++i) { + delete descriptors[i]; ++ descriptors[i] = NULL; ++ } + } + + /* /////////////////////////////////////////////////////////////////////// */ |