When the extra length is 0, there will be a null pointer reference problem
Signed-off-by: chengbo chengbo@uniontech.com