We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi all, This is Qianxin CodeSafe Team, we found a suspicious div-zero, at
openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp
Line 192 in 3668daf
Line 145 in 3668daf
Line 146 in 3668daf
openh264/codec/common/inc/macros.h
Line 132 in 3668daf
the second argument y of macro WELS_DIV_ROUND64 may be zero. which means iMbTotalNum may be zero. so at
y
WELS_DIV_ROUND64
iMbTotalNum
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all,
This is Qianxin CodeSafe Team, we found a suspicious div-zero, at
openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp
Line 192 in 3668daf
in the maco used at
openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp
Line 145 in 3668daf
and
openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp
Line 146 in 3668daf
which is defined at
openh264/codec/common/inc/macros.h
Line 132 in 3668daf
the second argument
y
of macroWELS_DIV_ROUND64
may be zero.which means
iMbTotalNum
may be zero.so at
openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp
Line 192 in 3668daf
while dived by
iMbTotalNum
, a check against zero should be added.The text was updated successfully, but these errors were encountered: