Skip to content

Commit

Permalink
Appropriatly size message string, preventing overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
theurich committed Oct 22, 2023
1 parent 69098df commit 53028df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2655,7 +2655,7 @@ subroutine test_slicing(rc)
integer :: localrc
type(ESMF_Field) :: field1, field2
type(ESMF_Grid) :: grid
character(80) :: msgStrg
character(160) :: msgStrg
real(ESMF_KIND_R4), pointer :: fptr1a(:,:,:,:,:), fptr2a(:,:,:)
real(ESMF_KIND_R4), pointer :: fptr1b(:,:,:), fptr2b(:,:)

Expand Down

0 comments on commit 53028df

Please sign in to comment.