thumbnailer/westleypreview.cpp: check for division by zero
Fixes Coverity CID 709288: Division or modulo by zero (DIVIDE_BY_ZERO) Division by expression "STEPS" which may be zero has undefined behavior 139 avg=avg/STEPS; ... 150 return delta / STEPS;
parent
bb0f02c5
Please register or sign in to comment