Integer overflow in getng

Bug #1248284 reported by Vittorio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ABINIT
Fix Committed
Medium
jmbeuken

Bug Description

Running many test cases, e.g. built-in_testin_fast/testin_fast.stdin,
in getng.F90, line 161

"srch(1+ii*index:(ii+1)*index,1)=5*srch(1+(ii-1)*index:ii*index,1)"

I get an integer overflow trying to put "5 * 597196800"
into 32 bit array srch. Is this acceptable?

Changed in abinit:
importance: Undecided → Medium
assignee: nobody → jmbeuken (jean-michel-beuken)
Changed in abinit:
status: New → In Progress
Changed in abinit:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.