prevent invalid memory access in dbgutil code

Change-Id: I071a9375868c1cb262c4f45871ad7d3c26bb7271