mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-23 19:25:37 -05:00
Guard against array overrun.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6771 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
dbe32f87a2
commit
9d75e1d9d1
@ -87,10 +87,11 @@ subroutine detectmsk144(cbig,n,pchk_file,lines,nmessages,nutc)
|
||||
first=.false.
|
||||
endif
|
||||
|
||||
nstep=694 ! fill the detmet, detsnr, detferr arrays
|
||||
nstep=693 ! fill the detmet, detsnr, detferr arrays
|
||||
do istp=1,nstep
|
||||
ns=1+256*(istp-1)
|
||||
ne=ns+NPTS-1
|
||||
if( ne .gt. n ) exit
|
||||
tt=(ns+ne)/2.0/12000.0
|
||||
cdat=cbig(ns:ne)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user