Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Throw on bad types during skipping data
Summary: The current code silently returns on bad types. In case when we have an invalid data, we may get a container of a large size with a bad type, this would lead to us running long loop doing nothing (though we already can say that the data is invalid). The new code would throw an exception as soon as we try to skip a value of invalid type. Fixes CVE-2019-3552 Reviewed By: stevegury Differential Revision: D13892370 fbshipit-source-id: 582c81f90cf40c105383083cb38815816140e3ad
- Loading branch information