pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [pkgsrc-2017Q4] pkgsrc/www



Module Name:    pkgsrc
Committed By:   spz
Date:           Wed Mar 21 20:49:56 UTC 2018

Modified Files:
        pkgsrc/www/seamonkey [pkgsrc-2017Q4]: Makefile PLIST distinfo
        pkgsrc/www/seamonkey-l10n [pkgsrc-2017Q4]: Makefile distinfo
Added Files:
        pkgsrc/www/seamonkey/patches [pkgsrc-2017Q4]: patch-CVE-2018-5146
            patch-CVE-2018-5147

Log Message:
Pullup ticket #5726 - requested by maya
www/seamonkey-l10n: security patch
www/seamonkey: security patch

Revisions pulled up:
- www/seamonkey-l10n/Makefile                                   1.42
- www/seamonkey-l10n/distinfo                                   1.40
- www/seamonkey/Makefile                                        1.170,1.172-1.173
- www/seamonkey/PLIST                                           1.60
- www/seamonkey/distinfo                                        1.148-1.150
- www/seamonkey/patches/patch-CVE-2018-5146                     1.1
- www/seamonkey/patches/patch-CVE-2018-5147                     1.1

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   ryoon
   Date:           Sat Mar  3 22:14:41 UTC 2018

   Modified Files:
           pkgsrc/www/seamonkey: Makefile PLIST distinfo

   Log Message:
   Update to 2.49.2

   Changelog:
   * Based on Firefox 52.6 and Thunderbird 52.6

   To generate a diff of this commit:
   cvs rdiff -u -r1.169 -r1.170 pkgsrc/www/seamonkey/Makefile
   cvs rdiff -u -r1.59 -r1.60 pkgsrc/www/seamonkey/PLIST
   cvs rdiff -u -r1.147 -r1.148 pkgsrc/www/seamonkey/distinfo

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   ryoon
   Date:           Sat Mar  3 22:15:36 UTC 2018

   Modified Files:
           pkgsrc/www/seamonkey-l10n: Makefile distinfo

   Log Message:
   Update to 2.49.2

   Sync with www/seamonkey-2.49.2

   To generate a diff of this commit:
   cvs rdiff -u -r1.41 -r1.42 pkgsrc/www/seamonkey-l10n/Makefile
   cvs rdiff -u -r1.39 -r1.40 pkgsrc/www/seamonkey-l10n/distinfo

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Fri Mar 16 23:25:56 UTC 2018

   Modified Files:
           pkgsrc/www/seamonkey: Makefile distinfo
   Added Files:
           pkgsrc/www/seamonkey/patches: patch-CVE-2018-5146

   Log Message:
   seamonkey: apply patch from firefox52 to fix CVE-2018-5146
   remote code execution via ogg files.

   Note firefox52 nor this patches tremor, so the vulnerability still exists
   for ARM (which uses tremor rather than vorbis).

   Blind commit. I don't have the resources to build so many firefoxes.
   However it is based off firefox52.

   PKGREVISION++

   To generate a diff of this commit:
   cvs rdiff -u -r1.171 -r1.172 pkgsrc/www/seamonkey/Makefile
   cvs rdiff -u -r1.148 -r1.149 pkgsrc/www/seamonkey/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/www/seamonkey/patches/patch-CVE-2018-5146

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Sat Mar 17 00:06:17 UTC 2018

   Modified Files:
           pkgsrc/www/seamonkey: Makefile distinfo
   Added Files:
           pkgsrc/www/seamonkey/patches: patch-CVE-2018-5147

   Log Message:
   seamonkey: also provide patch for tremor (i.e. relevant for ARM) vulnerability

   Also backported upstream after the release:
   https://hg.mozilla.org/releases/mozilla-esr52/rev/5cd5586a2f48

   PKGREVISION++

   To generate a diff of this commit:
   cvs rdiff -u -r1.172 -r1.173 pkgsrc/www/seamonkey/Makefile
   cvs rdiff -u -r1.149 -r1.150 pkgsrc/www/seamonkey/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/www/seamonkey/patches/patch-CVE-2018-5147


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.167.2.1 pkgsrc/www/seamonkey/Makefile
cvs rdiff -u -r1.59 -r1.59.2.1 pkgsrc/www/seamonkey/PLIST
cvs rdiff -u -r1.147 -r1.147.2.1 pkgsrc/www/seamonkey/distinfo
cvs rdiff -u -r1.41 -r1.41.2.1 pkgsrc/www/seamonkey-l10n/Makefile
cvs rdiff -u -r1.39 -r1.39.2.1 pkgsrc/www/seamonkey-l10n/distinfo
cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/www/seamonkey/patches/patch-CVE-2018-5146 \
    pkgsrc/www/seamonkey/patches/patch-CVE-2018-5147

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/seamonkey/Makefile
diff -u pkgsrc/www/seamonkey/Makefile:1.167 pkgsrc/www/seamonkey/Makefile:1.167.2.1
--- pkgsrc/www/seamonkey/Makefile:1.167 Thu Nov 30 16:45:41 2017
+++ pkgsrc/www/seamonkey/Makefile       Wed Mar 21 20:49:56 2018
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.167 2017/11/30 16:45:41 adam Exp $
+# $NetBSD: Makefile,v 1.167.2.1 2018/03/21 20:49:56 spz Exp $
 
 DISTNAME=      seamonkey-${SM_VER}.source
 PKGNAME=       seamonkey-${SM_VER:S/b/beta/}
-PKGREVISION=   2
-SM_VER=                2.49.1
+PKGREVISION=   3
+SM_VER=                2.49.2
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_MOZILLA:=seamonkey/releases/${SM_VER}/source/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/www/seamonkey/PLIST
diff -u pkgsrc/www/seamonkey/PLIST:1.59 pkgsrc/www/seamonkey/PLIST:1.59.2.1
--- pkgsrc/www/seamonkey/PLIST:1.59     Fri Nov 10 22:45:27 2017
+++ pkgsrc/www/seamonkey/PLIST  Wed Mar 21 20:49:56 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.59 2017/11/10 22:45:27 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.59.2.1 2018/03/21 20:49:56 spz Exp $
 bin/seamonkey
 lib/seamonkey/application.ini
 lib/seamonkey/blocklist.xml
@@ -25,6 +25,7 @@ lib/seamonkey/chrome/classic/skin/classi
 lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/editBookmarkOverlay.css
 lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/livemark-folder.png
 lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/query.png
+lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/tag.png
 lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/toolbarDropMarker.png
 lib/seamonkey/chrome/classic/skin/classic/communicator/bookmarks/unsortedBookmarks.png
 lib/seamonkey/chrome/classic/skin/classic/communicator/brand.css
@@ -115,6 +116,7 @@ lib/seamonkey/chrome/classic/skin/classi
 lib/seamonkey/chrome/classic/skin/classic/communicator/profile/profile.css
 lib/seamonkey/chrome/classic/skin/classic/communicator/profile/profileManager.css
 lib/seamonkey/chrome/classic/skin/classic/communicator/profile/profileicon-large.gif
+lib/seamonkey/chrome/classic/skin/classic/communicator/scrollbars.css
 lib/seamonkey/chrome/classic/skin/classic/communicator/search/engineManager.css
 lib/seamonkey/chrome/classic/skin/classic/communicator/search/mainwindow-dropdown-arrow.png
 lib/seamonkey/chrome/classic/skin/classic/communicator/search/search.css
@@ -3899,7 +3901,7 @@ lib/seamonkey/extensions/modern@themes.m
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/editBookmarkOverlay.css
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/livemark-folder.png
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/query.png
-lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/tagContainerIcon.png
+lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/tag.png
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/toolbarDropMarker.png
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/bookmarks/unsortedBookmarks.png
 lib/seamonkey/extensions/modern%themes.mozilla.org@localhost/chrome/modern/skin/modern/communicator/brand.css

Index: pkgsrc/www/seamonkey/distinfo
diff -u pkgsrc/www/seamonkey/distinfo:1.147 pkgsrc/www/seamonkey/distinfo:1.147.2.1
--- pkgsrc/www/seamonkey/distinfo:1.147 Fri Dec 15 23:50:55 2017
+++ pkgsrc/www/seamonkey/distinfo       Wed Mar 21 20:49:56 2018
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.147 2017/12/15 23:50:55 maya Exp $
+$NetBSD: distinfo,v 1.147.2.1 2018/03/21 20:49:56 spz Exp $
 
-SHA1 (seamonkey-2.49.1.source.tar.xz) = 6ef366a03ef31b8c0bfb7a1fd908bf5feed1be79
-RMD160 (seamonkey-2.49.1.source.tar.xz) = 4529cd5ce107af03e496cb8353d2045109b53635
-SHA512 (seamonkey-2.49.1.source.tar.xz) = 3778721fdc01e96626185d35998c5af0974460190c59d4b1f7fd9da44c35b90cec7dbb27fc4afeebd46f04bd67ebe1ba81ac21e841393e4db8c018759f6ef30c
-Size (seamonkey-2.49.1.source.tar.xz) = 229458016 bytes
+SHA1 (seamonkey-2.49.2.source.tar.xz) = 843ff7e74e488d03bdbf72237a1973c50887494b
+RMD160 (seamonkey-2.49.2.source.tar.xz) = 9f79789a5d44985d96f8549f537ad01f23c1fc2c
+SHA512 (seamonkey-2.49.2.source.tar.xz) = 6f69f7fb0a2de8086231b615b62b350edf6c903d2fde90ee4c79e316cfcf5a413097df9afe1397dbfe680e264f6be14c2c147be7ba11c5dbd73a1e9e01b8857e
+Size (seamonkey-2.49.2.source.tar.xz) = 229980312 bytes
+SHA1 (patch-CVE-2018-5146) = 121d8511b4aef0a784ae12d12c35cd4282c9ab83
+SHA1 (patch-CVE-2018-5147) = 1c44a5e2f0a81b58ebc8343028019e4681ee246c
 SHA1 (patch-ao) = e466058ed1899a64a9ab5b57290ff2baad1ea03c
 SHA1 (patch-ldap_c-sdk_include_portable.h) = ce0b643fa031b74bf7d74eedc4f3729807aef799
 SHA1 (patch-mail_app_Makefile.in) = da6ac87ffdcff733f11218cb11f8ef316bb1bc18

Index: pkgsrc/www/seamonkey-l10n/Makefile
diff -u pkgsrc/www/seamonkey-l10n/Makefile:1.41 pkgsrc/www/seamonkey-l10n/Makefile:1.41.2.1
--- pkgsrc/www/seamonkey-l10n/Makefile:1.41     Fri Nov 10 22:52:07 2017
+++ pkgsrc/www/seamonkey-l10n/Makefile  Wed Mar 21 20:49:56 2018
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2017/11/10 22:52:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.41.2.1 2018/03/21 20:49:56 spz Exp $
 #
 
-SM_VER=                2.49.1
+SM_VER=                2.49.2
 PKGNAME=       seamonkey-l10n-${SM_VER:S/b/beta/}
 DISTNAME=      # empty
 CATEGORIES=    www

Index: pkgsrc/www/seamonkey-l10n/distinfo
diff -u pkgsrc/www/seamonkey-l10n/distinfo:1.39 pkgsrc/www/seamonkey-l10n/distinfo:1.39.2.1
--- pkgsrc/www/seamonkey-l10n/distinfo:1.39     Fri Nov 10 22:52:07 2017
+++ pkgsrc/www/seamonkey-l10n/distinfo  Wed Mar 21 20:49:56 2018
@@ -1,74 +1,74 @@
-$NetBSD: distinfo,v 1.39 2017/11/10 22:52:07 ryoon Exp $
+$NetBSD: distinfo,v 1.39.2.1 2018/03/21 20:49:56 spz Exp $
 
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.cs.langpack.xpi) = 0f90c80317cf0dd6641846cb664de627f1e4909c
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.cs.langpack.xpi) = d90903adca5af43ec3ecaf0a519a5e519623c125
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.cs.langpack.xpi) = c3b061e0b735c6949a0ce7f8be22c7818e6bd039de5284015b0ff63b8456f18bd51db9f3a3d1f9a5df2a6d0610043ea9e33f16ccd3ba64e20ac53e901196afd3
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.cs.langpack.xpi) = 941974 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.de.langpack.xpi) = 4d1aad92acda0c918bffb1ba1f1f68e6e4c90aa3
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.de.langpack.xpi) = bd646c39148eeffb985ba99c68ee3a612d467b24
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.de.langpack.xpi) = fb85fa867b5b9417190aa25cc678d68e3afed04bfe052896167aaf46042397da6e1bbeb70acc321f46bd0bed4f0856152d80a348b478a336d28825c4120af1c6
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.de.langpack.xpi) = 949902 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-GB.langpack.xpi) = ea5070990c226921fc782574931e8719b389e0f8
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-GB.langpack.xpi) = b609e7303c6695852e83f5fe92d80688e120a246
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-GB.langpack.xpi) = 973fc7f693abe9b87bd971f79e050bd4bd9a16e4e6f6a50d9298f2c71d45aa328c4279055382b7f9bf8c807dff9c1ab8855d97dbbe3eb4d71c40ee5e3a02f3b6
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-GB.langpack.xpi) = 911789 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-US.langpack.xpi) = f3295e96b96c43386d2420f20b7e369417efdbaa
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-US.langpack.xpi) = 8b34910786b7579f9d0815daeb206194561a3a0e
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-US.langpack.xpi) = 1ea8b91c381a5b1cdeb5fbb1e58ed74e311b7cbfa94a000ccbdcd2dc1face74ed9c12ebfa51f63bddcd9bfdbc812fbb5ab3fd36458edece9857c43f88b89cfb2
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.en-US.langpack.xpi) = 930971 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-AR.langpack.xpi) = b11ee419aa90204d256661e7d94ab1611d8956df
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-AR.langpack.xpi) = 85fe085977d99b44e68b7d87969f24df9c8c67a5
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-AR.langpack.xpi) = ec198ed919079e16bf638be032cc7de165d0e9d05d0742a12828b5ad510884d4dd0da57c0cbae85b3fe0089a1be26f42c9887957ab6ecac8b8ef6cf0fbbcb345
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-AR.langpack.xpi) = 952759 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-ES.langpack.xpi) = 95c3365bee79e9ed9cdedd5b0d84584f9e749d18
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-ES.langpack.xpi) = 9ebdabf8b1ce0d84ed0cd5a8abcd955a13e02f9a
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-ES.langpack.xpi) = e9fb5834f3086ee1cf99404930149f06ee7f3f0d5796550c3368b915ed9f729dbd92032682c6273b687b6f3077a4ca3a78192e101f1276d90ebf2eb71f39f22e
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.es-ES.langpack.xpi) = 897737 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.fr.langpack.xpi) = 9cec3b2535f7a2d4e23f71ce35268018db0e7664
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.fr.langpack.xpi) = 965cc130bc38c06e36a115ae5660a7a47cf480c3
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.fr.langpack.xpi) = 188f4a8c79b10f95c807a08837290fbc3245c983e6797b8f8a0beea4f4ffad915abeb942920f9986910a0530218f4e35ba16de60b4f21d33116ae16756eb4e8c
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.fr.langpack.xpi) = 969290 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.it.langpack.xpi) = 9821637a16df1d8d17c01ca40a54f599971eab5a
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.it.langpack.xpi) = d6ea989cbafce9fcb5a26c64beb47160d35a0687
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.it.langpack.xpi) = c750a85b74bb37d966f1bbecdafcd6ad9d4532eaf0f49f9148081f821c61aec332646eb7c43f0eef4b736362a8c2ab0a1205a38537129f6fe920dc8ae0f16ca9
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.it.langpack.xpi) = 793590 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ja.langpack.xpi) = 4c631f652e90be223767e6e4b54e4cdd35e661f9
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ja.langpack.xpi) = 066e0eab8991ac7a62d58cf2c0bbfa16d8439c55
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ja.langpack.xpi) = 454756af04d5d3301c3ffe321109e1c78aa69a3b9e4a29e1b1e7226b958062e451551d73c3df87785fd80e74a4e433fc2094e3702ceb1a547abb858551878056
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ja.langpack.xpi) = 1033801 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.lt.langpack.xpi) = f3ac3e41662642abd245f6893ce1bcc2f532709e
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.lt.langpack.xpi) = 5fadc8f49124c314262dbd2ff5ccacfbaebc974b
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.lt.langpack.xpi) = 14124e0b9b60f360f6f2b77b5bafe80569894754a3ffd27b6a3aab34136d7876d785b5e9178cb1d34ec46a7b858f26327658e1a3e43ac97abe272838dde78228
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.lt.langpack.xpi) = 956024 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.nl.langpack.xpi) = e58424e6e64d9bb45495dae91169a86e55e224c1
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.nl.langpack.xpi) = 079ca8d97425a00b3f14e968b6b471570138e9e2
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.nl.langpack.xpi) = 0f3e68df37e211b73773e1b84d39d4540d1d8865cc534bad841babc30c074bb9301cc472aa0e4e61e09bc26948270e1106e1546d27705380819d830ca158215d
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.nl.langpack.xpi) = 957391 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pl.langpack.xpi) = c47cf84687aebd5b510bb49e9a725ea14c7b2dfd
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pl.langpack.xpi) = 3980c8a7ab8ca06df9862935830b122c3198bc59
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pl.langpack.xpi) = 532b64032b6e4cb902cd9d99ef5505f3ac57964452196f3a9f49eff1bd965c5a8a8271960951482266f12214cce4cad876268f9f38a193f5d91c2644fef0aff8
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pl.langpack.xpi) = 913004 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pt-PT.langpack.xpi) = b1f489b72460ce3d8f718bad92a59f02b011159e
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pt-PT.langpack.xpi) = 3d653f6916ed5c636810fbd3389c73cae1af7a4b
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pt-PT.langpack.xpi) = f8cac43e61de1d4dfbc0febddcadfa10cc457e7552016c79ff954cddef900470e60912c607076976b15811944a07cd785fbd2ffd85a5af3ce545ec98c12bdc05
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.pt-PT.langpack.xpi) = 939012 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ru.langpack.xpi) = be6a4cbfcf9fb4ca141a811d207ea87dfdb7e509
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ru.langpack.xpi) = c919476ae7e71e2bfb3833188dea885ba187b816
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ru.langpack.xpi) = 846f7f361a15ea1b04539ec789dffb459e1fbd85283c720883d6545da67a979e040c80b5cb6a0938f0ca9e059e837310cf3fb2d97671e37ff256ad2ac780291c
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.ru.langpack.xpi) = 995907 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sk.langpack.xpi) = ccf4c216d78df1a993ae29eaabb200976754b4a1
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sk.langpack.xpi) = 47ac4dacd8ab9ec747ec23e74f216e011d3cc4af
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sk.langpack.xpi) = 8fb02cb8f95c68ce40aabaf79c57bd7c655092dd5fb939d68a62a1bec707b903fbcf16299ff8dd094e161b5f4c732a813d63e33b3ff3ac09f9e1afcf740426d9
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sk.langpack.xpi) = 967988 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sv-SE.langpack.xpi) = 8747c723a7e11a590fb5885e4de82044fa97bfef
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sv-SE.langpack.xpi) = 9832d7ceeaad2b768ef51ee27c20fb43fcf3b923
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sv-SE.langpack.xpi) = 0ac1b0a8e599ef0ffe49d8a7b94dd25818601fb5603273ed995b9a4bb52c5e13a360c76b9278bf8a14b8dce5609f33be319c43fa13ee7b16eda897f6c2d39ddf
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.sv-SE.langpack.xpi) = 940793 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-CN.langpack.xpi) = 76e060818468580cef7bdfd05a49a9a10f87dea9
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-CN.langpack.xpi) = b7faecef017d2f38548ab7d20b353d5ed7059573
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-CN.langpack.xpi) = 5d3a6accc9deb69b6d52bccca0b52e12b8727d0e6a99067dba52921a147c333b7b777d7dc4935510fb981c9cfae2c4cfc30f310fad9b06e5537ef1dbb89b5e28
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-CN.langpack.xpi) = 946349 bytes
-SHA1 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-TW.langpack.xpi) = ec392a8a7b22f0d4de774735a160c4becd641a15
-RMD160 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-TW.langpack.xpi) = 4499ad28bef3052841007507d9e2cf05163fe24b
-SHA512 (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-TW.langpack.xpi) = a5797304f4de6edf807238a551676fe9755d9ae0dc0141ea959c6edae8bc742ad11976a2b1cf4f2a324ad6b94c1a97c77e29b8100a679af7002156d1d0150376
-Size (seamonkey-l10n-2.49.1/seamonkey-2.49.1.zh-TW.langpack.xpi) = 1002365 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.cs.langpack.xpi) = ee1bbf3e029c99a15b8e60fa3a3efdb268bfbcfe
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.cs.langpack.xpi) = 748320f79d1b70f44029f4c4c584c96f2bb9611d
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.cs.langpack.xpi) = eff0797c20964d5a8bc4f257c607cfff98a1248d02f69e8cd3eaa46864715079e0e28ffa888770bcf50d7c2bfa53d530db6239632ea643154e98e7195d7c02fc
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.cs.langpack.xpi) = 941974 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.de.langpack.xpi) = 2e772ac2c6010a82a5fe0214a00b07deb5e22ddb
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.de.langpack.xpi) = 1e4eb5052b60e18d0364c2828fbf3470ad91dc29
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.de.langpack.xpi) = c04c77195cf1c90e914936dbe1d35d33d4190ee976e866fec6ab551f6f1718945ac036b208a2be0bd62d4e9a2e202e5165e05e1e6cdd18d9934b8bd7ed9dec62
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.de.langpack.xpi) = 949901 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-GB.langpack.xpi) = b642c244e5cb8b4062a9478c031dac124ef9543a
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-GB.langpack.xpi) = 19fdb8129e91abed3cf5595f7f0243aa9306ad8a
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-GB.langpack.xpi) = adad54f6cb6fe3609088950df2a2af33749c36fa2350e01f6f5cd6acd3bbc3ea8182481723f07bc72720644d3d83ed0144650c8c9c55c441712fc6179c8f15a7
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-GB.langpack.xpi) = 911788 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-US.langpack.xpi) = 1a76f488b68a5d9efd19e55d8912fc5772b10624
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-US.langpack.xpi) = b162a058b54bd6527582f2f00084a41f04587abe
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-US.langpack.xpi) = a11d8694b92dca902600ad048817bc1d240ecedd368a23192549ac9ce70ad01c8d9c1f3ab52d557fd42a4a535ef4a2d7c35e65e303bb2b65c5586af89b6cfb8d
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.en-US.langpack.xpi) = 930971 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-AR.langpack.xpi) = bc30f4a7e7f0469fbf33e494ac95d2397861ee6e
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-AR.langpack.xpi) = 379ba49234720f2f7e8044f2aab44b813c21bd63
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-AR.langpack.xpi) = 6bbea82e211e9cb960789e36c6921d0cbcf92b7a99da91d08656b599b88d6db5bb2e8cbb3e645ec375ce1d5f59068ddaf3a90d7971e6b3b57d01b2ffad949294
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-AR.langpack.xpi) = 952759 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-ES.langpack.xpi) = 3638d8a0c22a56376b19421a4249a0835fb83eb6
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-ES.langpack.xpi) = 36242d9eb7ac70663f9c743f39c142aaced88fa4
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-ES.langpack.xpi) = 08d4cbe27333ae1baa401bd2967aaedb182465a58b700f4043d5942feb87c1d390690014209be22219e19a0b93678317d9687009ac36e5e82a57a883802bc5d1
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.es-ES.langpack.xpi) = 897737 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.fr.langpack.xpi) = b5238922f61f811636ffce961b4f80e3c3b23593
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.fr.langpack.xpi) = ed66ca577803de8e971a1231f8bec1ee93ce3e3d
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.fr.langpack.xpi) = 23e7592deaecb9181fc52836097834cd9d990b5217facd8eedd4c613937c31a62640a8ae9aa1a471493f0ac1dba579b423e076f0a52ad7ecf5ea542e5bf9a16b
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.fr.langpack.xpi) = 969290 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.it.langpack.xpi) = 44663092034a59ca8a5c04d8c81c58e8fb20df7c
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.it.langpack.xpi) = 306895a88cd385aba0c5a3b86bf533c5b3bb2fa4
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.it.langpack.xpi) = ccd61bf0199859c72bbf62ff2939b23174305fdf690a87e8359feda3a00b7a5db74e71f58c6b8993411606694ad9b1ba4d85ae4200a5389791a5e9330a0c1189
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.it.langpack.xpi) = 793590 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ja.langpack.xpi) = 283c228a296ef67a3f486e1fea59afe0c1b47723
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ja.langpack.xpi) = 45b729f593f3e28f2ee253615e81cce6dd052d94
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ja.langpack.xpi) = 2e977172586b5f4e19fb4cc7615d120a62b8ef2f1d7f9785a1a41ad6ef76e951db56b2981aca447f8a0bb50a4ae609957f5203d5c64e949b208cec7e1eb002de
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ja.langpack.xpi) = 1033800 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.lt.langpack.xpi) = 132464480dc60fdf4f5ff1d89558dfc04b17c9a4
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.lt.langpack.xpi) = 883f1c56299b169f745d1ef80f6b8dbb43ba9100
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.lt.langpack.xpi) = 8568a59799895e3805dbf5c2cd4754c7cfb7b8b594f5311bb8eddcbcda466479900ffcef4237f5bf67ba55a02e2ee897c1b65adcbdca4d5ee26130e4152f9a68
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.lt.langpack.xpi) = 956024 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.nl.langpack.xpi) = 8c2d7a9dc867f11602e831ac341a81d6d1d4b115
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.nl.langpack.xpi) = 215afe0de9f3cfcd1ebb77071d3ad85ae3b30b0a
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.nl.langpack.xpi) = 762750e2a3d694c8dae697848ce15f17892b897069bf36425418a8d2c6bf20f6e15a147c68db4873f4eb41399e19b6f045e856cf475f67115be77c2c305d3d39
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.nl.langpack.xpi) = 957391 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pl.langpack.xpi) = 69b3fec7d2536a523960f5c34f641fa61b1081f0
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pl.langpack.xpi) = 32c027ef7d7164926346544a4c37a2720b838870
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pl.langpack.xpi) = 0a9cdcedd5054fb9992aaff9a2aa809e72862a6fef6431d5e472f99e51fed34fbb78f10b5a4a60a1a29e5806bb0e43464781bc0947726bdceb6c2e6994ad1b5c
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pl.langpack.xpi) = 913004 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pt-PT.langpack.xpi) = a1c93f7f718669c80be4af4969ee359bce2f7d4f
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pt-PT.langpack.xpi) = 867593d7da18f1d73ea711c699853ea2f108297b
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pt-PT.langpack.xpi) = c63943e8bf8a7295d021bf56dfe8f5fd7a91b60565e89f99b11c8a0628a5292707dda406bbe0239925d98fcace88725079434c6fceb1abf981f7b3345eccdf59
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.pt-PT.langpack.xpi) = 939012 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ru.langpack.xpi) = 67465f0e746e20db60e3628a806d82b28e43f6bf
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ru.langpack.xpi) = 01019d8fbaaa43d3ca93f78710eaf744fc129ee8
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ru.langpack.xpi) = 2ab8c02958f261936a37c08a7b314f86f2967fb34e68e258385da506e98fe1d79524b56e399b0315c9970a9806d98f9b9ff08cfc5cd5d6021275f4a4cef91267
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.ru.langpack.xpi) = 995908 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sk.langpack.xpi) = e5bcbcb94242cde81da355d9febf7fe720b88409
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sk.langpack.xpi) = 4f932179ed990de9d2dbd3dab841d862c1767766
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sk.langpack.xpi) = 3784c85dcf2203d2672890d81d3515964490adec67601e906ebc25b0c8fc3dce083a512af5e682d8a2402512390006834802226cdafd623ce8713d2769f509dd
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sk.langpack.xpi) = 967988 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sv-SE.langpack.xpi) = e3f002038b95a62632d59f21423f53fe1711f9c6
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sv-SE.langpack.xpi) = 6ce981e8efe0318ca4ab79df28d381b4d77c89f1
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sv-SE.langpack.xpi) = 2494985801aaa32a00b6886558669d7af1208d270be09164d7db0b1b3c9eac5dd7e7783a8f0bfcd77edd5a8d2eb330d2c05bd817b954b78cecb050cb648da9ce
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.sv-SE.langpack.xpi) = 940793 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-CN.langpack.xpi) = 62268327505c2cc34d40b37cacdd39e2353347f2
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-CN.langpack.xpi) = a32672216c246348f763e1c96ceeea630a90f33a
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-CN.langpack.xpi) = d1c6a71e7d88d409688a5e9f4d4fa0d74265f1c8bea90ec3079baf9e3b64d55a4d675eb48ebabc6ab330d17aa3f69716419784bd161a9b3d6d0307fc12e7b64c
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-CN.langpack.xpi) = 946348 bytes
+SHA1 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-TW.langpack.xpi) = 0da83bbda6188c1e1ad33170401e74cdcaebcb61
+RMD160 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-TW.langpack.xpi) = 3d6c280902f33c3215c981a5ec4dc104209bb84f
+SHA512 (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-TW.langpack.xpi) = c369541d7e9ff59afb6bf3b87c8cd700045a2192a9d5a0bf2e7c53f3891b433e9ffd290774a4538eed8b25e29c1c8dba10abcca977584dd20a7ba3f9ccd7eba4
+Size (seamonkey-l10n-2.49.2/seamonkey-2.49.2.zh-TW.langpack.xpi) = 1002365 bytes

Added files:

Index: pkgsrc/www/seamonkey/patches/patch-CVE-2018-5146
diff -u /dev/null pkgsrc/www/seamonkey/patches/patch-CVE-2018-5146:1.1.2.2
--- /dev/null   Wed Mar 21 20:49:56 2018
+++ pkgsrc/www/seamonkey/patches/patch-CVE-2018-5146    Wed Mar 21 20:49:56 2018
@@ -0,0 +1,82 @@
+$NetBSD: patch-CVE-2018-5146,v 1.1.2.2 2018/03/21 20:49:56 spz Exp $
+
+CVE-2018-5146: Prevent out-of-bounds write in codebook decoding.
+
+Codebooks that are not an exact divisor of the partition size are now
+truncated to fit within the partition.
+
+--- mozilla/media/libvorbis/lib/vorbis_codebook.c.orig 2018-02-05 11:49:22.000000000 +0000
++++ mozilla/media/libvorbis/lib/vorbis_codebook.c
+@@ -387,7 +387,7 @@ long vorbis_book_decodevs_add(codebook *
+       t[i] = book->valuelist+entry[i]*book->dim;
+     }
+     for(i=0,o=0;i<book->dim;i++,o+=step)
+-      for (j=0;j<step;j++)
++      for (j=0;o+j<n && j<step;j++)
+         a[o+j]+=t[j][i];
+   }
+   return(0);
+@@ -399,41 +399,12 @@ long vorbis_book_decodev_add(codebook *b
+     int i,j,entry;
+     float *t;
+ 
+-    if(book->dim>8){
+-      for(i=0;i<n;){
+-        entry = decode_packed_entry_number(book,b);
+-        if(entry==-1)return(-1);
+-        t     = book->valuelist+entry*book->dim;
+-        for (j=0;j<book->dim;)
+-          a[i++]+=t[j++];
+-      }
+-    }else{
+-      for(i=0;i<n;){
+-        entry = decode_packed_entry_number(book,b);
+-        if(entry==-1)return(-1);
+-        t     = book->valuelist+entry*book->dim;
+-        j=0;
+-        switch((int)book->dim){
+-        case 8:
+-          a[i++]+=t[j++];
+-        case 7:
+-          a[i++]+=t[j++];
+-        case 6:
+-          a[i++]+=t[j++];
+-        case 5:
+-          a[i++]+=t[j++];
+-        case 4:
+-          a[i++]+=t[j++];
+-        case 3:
+-          a[i++]+=t[j++];
+-        case 2:
+-          a[i++]+=t[j++];
+-        case 1:
+-          a[i++]+=t[j++];
+-        case 0:
+-          break;
+-        }
+-      }
++    for(i=0;i<n;){
++      entry = decode_packed_entry_number(book,b);
++      if(entry==-1)return(-1);
++      t     = book->valuelist+entry*book->dim;
++      for(j=0;i<n && j<book->dim;)
++        a[i++]+=t[j++];
+     }
+   }
+   return(0);
+@@ -471,12 +442,13 @@ long vorbis_book_decodevv_add(codebook *
+   long i,j,entry;
+   int chptr=0;
+   if(book->used_entries>0){
+-    for(i=offset/ch;i<(offset+n)/ch;){
++    int m=(offset+n)/ch;
++    for(i=offset/ch;i<m;){
+       entry = decode_packed_entry_number(book,b);
+       if(entry==-1)return(-1);
+       {
+         const float *t = book->valuelist+entry*book->dim;
+-        for (j=0;j<book->dim;j++){
++        for (j=0;i<m && j<book->dim;j++){
+           a[chptr++][i]+=t[j];
+           if(chptr==ch){
+             chptr=0;
Index: pkgsrc/www/seamonkey/patches/patch-CVE-2018-5147
diff -u /dev/null pkgsrc/www/seamonkey/patches/patch-CVE-2018-5147:1.1.2.2
--- /dev/null   Wed Mar 21 20:49:56 2018
+++ pkgsrc/www/seamonkey/patches/patch-CVE-2018-5147    Wed Mar 21 20:49:56 2018
@@ -0,0 +1,79 @@
+$NetBSD: patch-CVE-2018-5147,v 1.1.2.2 2018/03/21 20:49:56 spz Exp $
+
+CVE-2018-5147: Prevent out-of-bounds write in codebook decoding.
+
+Codebooks that are not an exact divisor of the partition size are now
+truncated to fit within the partition.
+
+--- mozilla/media/libtremor/lib/tremor_codebook.c.orig 2018-02-05 11:49:21.000000000 +0000
++++ mozilla/media/libtremor/lib/tremor_codebook.c
+@@ -258,7 +258,7 @@ long vorbis_book_decodevs_add(codebook *
+       t[i] = book->valuelist+entry[i]*book->dim;
+       }
+       for(i=0,o=0;i<book->dim;i++,o+=step)
+-      for (j=0;j<step;j++)
++      for (j=0;o+j<n && j<step;j++)
+         a[o+j]+=t[j][i]>>shift;
+     }else{
+       for (i = 0; i < step; i++) {
+@@ -267,7 +267,7 @@ long vorbis_book_decodevs_add(codebook *
+       t[i] = book->valuelist+entry[i]*book->dim;
+       }
+       for(i=0,o=0;i<book->dim;i++,o+=step)
+-      for (j=0;j<step;j++)
++      for (j=0;o+j<n && j<step;j++)
+         a[o+j]+=t[j][i]<<-shift;
+     }
+   }
+@@ -287,7 +287,7 @@ long vorbis_book_decodev_add(codebook *b
+       entry = decode_packed_entry_number(book,b);
+       if(entry==-1)return(-1);
+       t     = book->valuelist+entry*book->dim;
+-      for (j=0;j<book->dim;)
++      for (j=0;i<n && j<book->dim;)
+         a[i++]+=t[j++]>>shift;
+       }
+     }else{
+@@ -295,7 +295,7 @@ long vorbis_book_decodev_add(codebook *b
+       entry = decode_packed_entry_number(book,b);
+       if(entry==-1)return(-1);
+       t     = book->valuelist+entry*book->dim;
+-      for (j=0;j<book->dim;)
++      for (j=0;i<n && j<book->dim;)
+         a[i++]+=t[j++]<<-shift;
+       }
+     }
+@@ -352,15 +352,15 @@ long vorbis_book_decodevv_add(codebook *
+     long i,j,entry;
+     int chptr=0;
+     int shift=point-book->binarypoint;
+-    
++    int m=offset+n;
+     if(shift>=0){
+       
+-      for(i=offset;i<offset+n;){
++      for(i=offset;i<m;){
+       entry = decode_packed_entry_number(book,b);
+       if(entry==-1)return(-1);
+       {
+         const ogg_int32_t *t = book->valuelist+entry*book->dim;
+-        for (j=0;j<book->dim;j++){
++        for (j=0;i<m && j<book->dim;j++){
+           a[chptr++][i]+=t[j]>>shift;
+           if(chptr==ch){
+             chptr=0;
+@@ -371,12 +371,12 @@ long vorbis_book_decodevv_add(codebook *
+       }
+     }else{
+       
+-      for(i=offset;i<offset+n;){
++      for(i=offset;i<m;){
+       entry = decode_packed_entry_number(book,b);
+       if(entry==-1)return(-1);
+       {
+         const ogg_int32_t *t = book->valuelist+entry*book->dim;
+-        for (j=0;j<book->dim;j++){
++        for (j=0;i<m && j<book->dim;j++){
+           a[chptr++][i]+=t[j]<<-shift;
+           if(chptr==ch){
+             chptr=0;



Home | Main Index | Thread Index | Old Index