Репозитории ALT
S: | 1.31.3-alt1 |
D: | 0.66-alt0.1 |
5.1: | 1.9.0-alt1 |
4.1: | 0.59s-alt0.9 |
4.0: | 0.59s-alt0.9 |
3.0: | 0.59s-alt0.8 |
Группа :: Звук
Пакет: mpg123
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mpg123-0.59s-security-layer2.patch
Скачать
Скачать
--- mpg123~/layer2.c 2001-01-23 15:10:02 +0000
+++ mpg123/layer2.c 2004-09-08 13:38:26 +0000
@@ -287,6 +287,11 @@ int do_layer2(struct mpstr *mp,struct fr
fr->jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ?
(fr->mode_ext<<2)+4 : fr->II_sblimit;
+ if (fr->jsbound > fr->II_sblimit) {
+ fprintf(stderr, "Truncating stereo boundary to sideband limit.\n");
+ fr->jsbound=fr->II_sblimit;
+ }
+
if(stereo == 1 || single == 3)
single = 0;