dlm: dlm/user.c input validation fixes