Add bounds checking before reading from cache buffer
Ensure that reads of cache->buffer such as GET_UINT32() do not read beyond cache->size.
Out of bounds reading was detected when running fuzz testing in chromium project.
Ensure that reads of cache->buffer such as GET_UINT32() do not read beyond cache->size.
Out of bounds reading was detected when running fuzz testing in chromium project.