summaryrefslogtreecommitdiff
path: root/lib/morse.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2021-03-27 10:23:34 +0100
committerChristoph Berg <myon@debian.org>2021-03-27 10:23:34 +0100
commit5c88480ddc5c5dab1f3444a8b8de9303fd6140da (patch)
treee7073b1ff21f63e0b62c5846d849360c1a87df93 /lib/morse.f90
parent1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (diff)
New upstream version 2.4.0~rc4+repackupstream/2.4.0_rc4+repack
Diffstat (limited to 'lib/morse.f90')
-rw-r--r--lib/morse.f901
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/morse.f90 b/lib/morse.f90
index de5f7a1b..7b428958 100644
--- a/lib/morse.f90
+++ b/lib/morse.f90
@@ -64,6 +64,7 @@ subroutine morse(msg,idat,n)
! Insert this character
nmax=ic(21,j)
+ if (n + nmax + 4 .gt. size (idat)) exit
do i=1,nmax
n=n+1
idat(n)=ic(i,j)