[Bug 371657] attempt to access beyond end of device when using dmraid