Bug #2457

Divide by zero / shift by negative amount

Added by Hirundo about 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:2011-03-23
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

param2 = 1 / 0 shouldn't give internal error. Same for modulus operator.
Shift expects a positive right-hand-side.

In short, all operators should be checked for such bugs/issues.

Associated revisions

Revision 1307:b6e5bd0709f8
Added by Hirundo about 9 years ago

Fix #2457: Do a more thorough validation of binary operands before reducing an expression.

Revision 1307:b6e5bd0709f8
Added by Hirundo about 9 years ago

Fix #2457: Do a more thorough validation of binary operands before reducing an expression.

History

#1 Updated by Hirundo about 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset b6e5bd0709f8.

Also available in: Atom PDF