Protect against overflow in MemRefs
Protect against overflow in MemRefs

Change-Id: I70d4143bd5bcdefe4f5f0a610aec6ff0321112f5

baldurk/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,baldurk/renderdoc