Skip to content

Add bounds checking before reading from cache buffer

Joel Hockey requested to merge joelhockey/xdgmime:master into master

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.

Edited by Joel Hockey

Merge request reports