This MR is means to solve a Tier 0 crash when running some test (see ATR-26723).
I have added two firewalls, one that solves the problem mention in the JIRA, and other as a precaution to not attempt to access a vector when the size is lower than the expected to start decoding.