    void SetArcInMem(byte *Data,size_t Size)
    {
      ArcMemData=Data;
      ArcMemSize=Size;
      ArcInMem=Data!=NULL && Size>0;
    }
The software writes data past the end, or before the beginning, of the intended buffer.