[PATCH openEuler-5.10 59/60] ubi: Reserve sufficient buffer length for the input mask