[PATCH openEuler-1.0-LTS] dm: fix a buffer overflow in ioctl processing