Tristan Matthews pushed to project branch main at Xiph.Org / Speex
Tristan Matthews (f461ff44) at 10 Oct 21:33 sb_celp: clamp vbr_quality to [0,10] like nb_celp
Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.
Tristan Matthews (f461ff44) at 10 Oct 21:33 sb_celp: clamp vbr_quality to [0,10] like nb_celp
The narrowband encoder (nb_celp.c) clamps SPEEX_SET_VBR_QUALITY to [0,10] after the fix for issue #33, but the wideband encoder (sb_celp.c) was missed. An unclamped st->vbr_quality is used as an index into mode->vbr_thresh[modeid][v1] (11 rows), causing an OOB read with quality > 10. Signed-off-by: Tristan Matthews tmatth@videolan.org
Tristan Matthews (f461ff44) at 10 Oct 18:45 sb_celp: clamp vbr_quality to [0,10] like nb_celp ... and 2 more commits
Tristan Matthews (e7b2f542) at 10 Oct 18:43 ci: move the default image from eol gcc:9 to gcc:15 ... and 1 more commit
The narrowband encoder (nb_celp.c) clamps SPEEX_SET_VBR_QUALITY to [0,10] after the fix for issue #33, but the wideband encoder (sb_celp.c) was missed. An unclamped st->vbr_quality is used as an index into mode->vbr_thresh[modeid][v1] (11 rows), causing an OOB read with quality > 10. Signed-off-by: Tristan Matthews tmatth@videolan.org