|
Line 0
Link Here
|
|
|
1 |
The z array must always been in multiples of four, not two. It is populated |
| 2 |
four at a time (j, j+1, j+2, j+3). Without this fix, it breaks on Werror with |
| 3 |
array subscript out of bounds on line 550. |
| 4 |
|
| 5 |
--- caliq.c.orig 2014-11-04 10:25:00 UTC |
| 6 |
+++ caliq.c |
| 7 |
@@ -391,7 +391,7 @@ char s[80]; |
| 8 |
int seg,color; |
| 9 |
int ia,ib; |
| 10 |
int i,j,k,m,n,mm,errskip; |
| 11 |
-float z[2*MAX_ADCHAN]; |
| 12 |
+float z[4*MAX_ADCHAN]; |
| 13 |
float t1,t2,t3; |
| 14 |
caliq_clear_flag=TRUE; |
| 15 |
clear_fft1_filtercorr(); |