rv10: improve buffer size check.
Check slice count and input buffer size before constructing a possibly invalid pointer, not after.
Showing
Please
register
or
sign in
to comment
Check slice count and input buffer size before constructing a possibly invalid pointer, not after.