Add FIX_963_USAN_ERROR to address division by zero
- Related issues: #963 (closed)
- Requested reviewers: @vasilache
Reason why this change is needed
- Undefined behavior due to potential division-by-zero.
Description of the change
- A check is performed on the denominator, and the division is avoided in case it is zero. Since the division is within a min() statement, the other argument will be selected since the value divided by zero will approach infinity as the denominator approaches zero.
Affected operating points
- Should be BE.
Related to #963 (closed)