@alexhenrie @zhiyi
Description: When flags does not include DT_CALCRECT, since len is calculated in the middle, it will be reduced to zero. Resulting in the length of the processed string that is finally returned to zero and the non-processing string length is unchanged. But some application taking the non-processing string length to zero as the loop end condition.
The test case's merge request number is 8177.
Signed-off-by: chenjiangyi chenjiangyi@uniontech.com