#2520 closed Bug (fixed)

Invalid Memory Access in tra_adv_cen

Reported by: francesca Owned by: systeam
Priority: low Milestone: Unscheduled
Component: TRA Version: release-4.0
Severity: major Keywords: bad memory access, TRA



There is a memory access error in traadv_cen.F90 file (line 129) of the r4.0-HEAD NEMO version.
It happens since the ji index of DO loop starts from 1 and the value of ztu at the line 133 is read at the position ji-1.
I think that ji should start from 2..

Moreover, probably a communication on zwx and zwy should be added after the loop.





Commit History (2)


fix ticket #2520 in trunk


fix ticket #2520 in r4.0-HEAD

Change History (4)

comment:1 Changed 17 months ago by clem

I concur. I think you can proceed to the fix in 4.0-HEAD and in the trunk...

comment:2 Changed 17 months ago by francesca

In 13456:

fix ticket #2520 in r4.0-HEAD

comment:3 Changed 17 months ago by francesca

In 13457:

fix ticket #2520 in trunk

comment:4 Changed 17 months ago by francesca

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.