Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37844212
en ru br
ALT Linux repos
S:1.4.2-alt1
5.0: 1.2.0-alt3
4.1: 1.2.0-alt2
4.0: 1.2.0-alt2
3.0: 1.0update.1-alt1.1.1.1

Group :: Sound
RPM: vorbis-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: vorbis-tools-1.2.0-sec.patch
Download


diff -ur vorbis-tools-1.2.0.orig/ogg123/speex_format.c vorbis-tools-1.2.0/ogg123/speex_format.c
--- vorbis-tools-1.2.0.orig/ogg123/speex_format.c	2008-03-03 07:37:26.000000000 +0200
+++ vorbis-tools-1.2.0/ogg123/speex_format.c	2008-04-14 16:47:22.000000000 +0300
@@ -475,7 +475,7 @@
            cb->printf_error(callback_arg, ERROR, _("Cannot read header"));
      return NULL;
    }
-   if ((*header)->mode >= SPEEX_NB_MODES) {
+   if ((*header)->mode >= SPEEX_NB_MODES || (*header)->mode < 0) {
      cb->printf_error(callback_arg, ERROR, 
 		      _("Mode number %d does not (any longer) exist in this version"),
 	      (*header)->mode);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin