message: Don't fetch buffer data if it's not yet initialised
diff: @@ -2563,7 +2563,8 @@ void BufferViewer::OnEventChanged(uint32_t eventId)
  uint64_t unclampedLen = m_ByteSize;
  if(unclampedLen == UINT64_MAX)
  {
  - uint64_t bufLen = m_IsBuffer ? m_Ctx.GetBuffer(m_BufferID)->length : 0;
  + uint64_t bufLen =
  + m_IsBuffer && m_BufferID != ResourceId() ? m_Ctx.GetBuffer(m_BufferID)->length : 0;
  uint64_t bufOffs = m_ByteOffset;
  if(bufOffs >= bufLen)
  