You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Match bc_type dummy shapes to the (1:num_dims, 1:2) actual #2070
The pre_process and simulation data-output routines declared bc_type as
an explicit-shape dimension(1:num_dims, -1:1) dummy, three columns wide,
while every actual is allocated (1:num_dims, 1:2). The callee could
index past the end of the actual through sequence association.
pre_process forwards bc_type to routines that expect (1:num_dims, 1:2),
so declare it with that shape. The simulation routines never use
bc_type, so drop the argument from s_write_data_files and the serial and
parallel writers.
No change to results; the debug CPU test suite passes unchanged.
A fix for this is already written. The pull request was closed only to reduce the number of simultaneously open PRs from this author, not because the work was rejected or found incorrect.
Activity