avoit out of bounds access
This commit is contained in:
parent
563d566a3f
commit
3309360e4b
|
@ -168,8 +168,11 @@ logical function quotedString(line)
|
|||
|
||||
character(len=*), intent(in) :: line
|
||||
|
||||
|
||||
quotedString = .false.
|
||||
|
||||
if (len(line) == 0) return
|
||||
|
||||
if (scan(line(:1),IO_QUOTES) == 1) then
|
||||
quotedString = .true.
|
||||
if(line(len(line):len(line)) /= line(:1)) call IO_error(710,ext_msg=line)
|
||||
|
|
Loading…
Reference in New Issue