# HG changeset patch # User reynaldo # Date 1239823708 0 # Node ID 1a3865d1b04995bdb32f789f32251402f800cc33 # Parent 41245484dc0b51d185a4db3762e319c41af2e67f Fix possibly harmful outbound addressing. Patch by Kenan Gillet. diff -r 41245484dc0b -r 1a3865d1b049 celp_filters.c --- a/celp_filters.c Wed Apr 15 19:10:16 2009 +0000 +++ b/celp_filters.c Wed Apr 15 19:28:28 2009 +0000 @@ -61,15 +61,14 @@ { int i,n; - // These two lines are to avoid a -1 subtraction in the main loop + // This line is to avoid a +1 subtraction in the main loop. filter_length++; - filter_coeffs--; for(n=0; n> 12) + in[n]; @@ -94,14 +93,13 @@ { int i,n; - // These two lines are to avoid a -1 subtraction in the main loop + // This line is to avoid a +1 subtraction in the main loop filter_length++; - filter_coeffs--; for(n=0; n