Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ba9c62942f0849908e65c3c70df44f2cfd0bf168
commit ba9c62942f0849908e65c3c70df44f2cfd0bf168 Author: kikadf <[email protected]> Date: Wed Jan 28 11:52:58 2015 +0100 exiv2-0.24-2-x86_64 * Fix CVE-2014-9449 diff --git a/source/lib/exiv2/CVE-2014-9449.patch b/source/lib/exiv2/CVE-2014-9449.patch new file mode 100644 index 0000000..77155aa --- /dev/null +++ b/source/lib/exiv2/CVE-2014-9449.patch @@ -0,0 +1,32 @@ +Description: fix denial of service via buffer overflow +Origin: upstream, http://dev.exiv2.org/projects/exiv2/repository/revisions/3264 +Bug: http://dev.exiv2.org/issues/960 + +Index: exiv2-0.24/src/riffvideo.cpp +=================================================================== +--- exiv2-0.24.orig/src/riffvideo.cpp 2013-12-01 07:13:42.000000000 -0500 ++++ exiv2-0.24/src/riffvideo.cpp 2015-01-05 12:05:08.587870068 -0500 +@@ -856,7 +856,7 @@ + + void RiffVideo::infoTagsHandler() + { +- const long bufMinSize = 100; ++ const long bufMinSize = 10000; + DataBuf buf(bufMinSize); + buf.pData_[4] = '\0'; + io_->seek(-12, BasicIo::cur); +@@ -879,10 +879,14 @@ + if(infoSize >= 0) { + size -= infoSize; + io_->read(buf.pData_, infoSize); ++ if(infoSize < 4) ++ buf.pData_[infoSize] = '\0'; + } + + if(tv) + xmpData_[exvGettext(tv->label_)] = buf.pData_; ++ else ++ continue; + } + io_->seek(cur_pos + size_external, BasicIo::beg); + } // RiffVideo::infoTagsHandler diff --git a/source/lib/exiv2/FrugalBuild b/source/lib/exiv2/FrugalBuild index 5e7b04b..b1b0e11 100644 --- a/source/lib/exiv2/FrugalBuild +++ b/source/lib/exiv2/FrugalBuild @@ -7,7 +7,7 @@ options+=('asneeded') pkgname=exiv2 pkgver=0.24 -pkgrel=1 +pkgrel=2 pkgdesc="Exiv2 is a C++ library and a command line utility to access image metadata." url="http://www.exiv2.org/" depends=('libstdc++' 'zlib') @@ -18,4 +18,9 @@ source=($url/$pkgname-$pkgver.tar.gz) Fconfopts+=" --with-zlib=/usr" sha1sums=('2f19538e54f8c21c180fa96d17677b7cff7dc1bb') +# FSA fix *** +source=(${source[@]} CVE-2014-9449.patch) +sha1sums=(${sha1sums[@]} 'b88c3b744e9d24c79e9c8a39b098cfff2c54489b') +# *********** + # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
