Hi, I am Lanting Shen from Qihoo360 CodeSafe Team.
We found that calling function '__get_mdays(y, m)' may return value 0, then, operation ' (md - 28U)' may cause an Arithmetic Wrap-around Error. Although there is an 'assert' check, but the check is used after operation, so I just move it before the subtraction.
Hi, I am Lanting Shen from Qihoo360 CodeSafe Team. We found that calling function '__get_mdays(y, m)' may return value 0, then, operation ' (md - 28U)' may cause an Arithmetic Wrap-around Error. Although there is an 'assert' check, but the check is used after operation, so I just move it before the subtraction.