Opened 14 years ago

Closed 14 years ago

#26 closed defect (fixed)

"fmod" in "inter_bary"

Reported by: lguez Owned by: lguez
Priority: major Milestone:
Component: LMDZ Keywords:
Cc:

Description

In the procedure "inter_bary", there are the arguments:

INTEGER jmodmax
real fmod(jmodmax+1)

The corresponding actual arguments in "inter_barxy" are:

INTEGER jmod
REAL fmody(jjp1)

If "jmod = jjm+1" in "inter_barxy" then the size of the dummy argument "fmod" is greater than the size of the actual argument "fmody". This is forbidden by the Fortran standard. There is the risk of incorrectly overwriting memory.

The case "jmod = jjm+1" in "inter_barxy" occurs after the call to "startget" for variable "v" in "etat0_netcdf".

Change History (1)

comment:1 Changed 14 years ago by lguez

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.