Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#1525 closed Bug (fixed)

out of bounds in divcurl!!

Reported by: smasson Owned by: flavoni
Priority: high Milestone: 2015 release-3.6
Component: OCE Version: trunk
Severity: Keywords: 2015 release-3.6
Cc:

Description

the definition of the work array zwv is wrong!
the keyword used should be kistart instead of kjstart.

      CALL wrk_alloc( jpi+4, jpj  , zwv, kistart = -1 )

Which means that the array bounds are (1:jpi+4, -1:jpj-2) instead of (-1:jpi+2, 1:jpj) .
I don't know why we never saw this bug which was introduced with the wrk_alloc during changeset:3294
Check bounds compilation option are not working in this case?

Am I wrong somewhere?

Commit History (1)

ChangesetAuthorTimeChangeLog
6068flavoni2015-12-16T16:26:00+01:00

fix out of bounds in divcur, see ticket #1525

Change History (5)

comment:1 Changed 6 years ago by flavoni

  • Owner changed from NEMO team to flavoni

comment:2 Changed 6 years ago by flavoni

  • Resolution set to fixed
  • Status changed from new to closed

Fix in commit revision 6068

comment:3 Changed 6 years ago by nicolasmartin

  • Keywords 2015 nemo_v3_6* added

comment:4 Changed 4 years ago by nemo

  • Keywords release-3.6* added; nemo_v3_6* removed

comment:5 Changed 4 years ago by nemo

  • Keywords release-3.6 added; release-3.6* removed
Note: See TracTickets for help on using tickets.