Home / Vulnerability Database / ABAP : Potential division by zero
ABAP

ABAP : Potential division by zero

Classification

Overview

A division by zero can lead to an unintended result.

Division by zero causes an exception. However, the exception cx_sy_zerodivide does not occur if the dividend is also zero when divided by zero. In this case, the division in ABAP results in the result 0.

Division by zero often occurs when calculating values of the variables that store length, width, height of some object. If the value of the argument that eventually causes division by zero is obtained from an untrusted source, an attacker can disrupt the normal operation of the application.

MEDIUM

DerScanner Severity Score

Do you want to fix ABAP : Potential division by zero in your application?

See also

ABAP

ABAP : Insufficient authorization check

ABAP

ABAP : Empty password

ABAP

ABAP : Weak seed of random number generator