aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeelkamal Semwal <neelkamal.semwal@ittiam.com>2021-10-19 09:55:41 +0530
committerNeelkamal Semwal <neelkamal.semwal@ittiam.com>2021-10-27 05:18:22 +0000
commit00f1b653251b47a3a30ef9d110d843de6effe0bc (patch)
treefb170b5adbd1969eff02d7b80db51f3a3305f730
parent6cbc156fd361d598df3b0f44ad7355fd191f32f3 (diff)
downloadtremolo-00f1b653251b47a3a30ef9d110d843de6effe0bc.tar.gz
Tremolo: Ignore integer-overflow in floor1_inverse2
Bug: 199782584 Test: POC in bug descriptions Change-Id: Ife94bcb69a6de16b7b5ce44a86b8fcdf49c5d756
-rw-r--r--Tremolo/floor1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tremolo/floor1.c b/Tremolo/floor1.c
index 1a920a7..41e3456 100644
--- a/Tremolo/floor1.c
+++ b/Tremolo/floor1.c
@@ -373,6 +373,7 @@ ogg_int32_t *floor1_inverse1(vorbis_dsp_state *vd,vorbis_info_floor *in,
return(NULL);
}
+__attribute__((no_sanitize("signed-integer-overflow")))
int floor1_inverse2(vorbis_dsp_state *vd,vorbis_info_floor *in,
ogg_int32_t *fit_value,ogg_int32_t *out){
vorbis_info_floor1 *info=(vorbis_info_floor1 *)in;