astc: Increase integer encoded vector size

Invalid ASTC textures seem to write more bytes here, increase
the size to something that can't make us push out of bounds.
This commit is contained in:
ReinUsesLisp 2021-01-15 02:17:47 -03:00
parent 185c16d893
commit c0c51e4be0

View file

@ -197,7 +197,7 @@ struct IntegerEncodedValue {
};
};
using IntegerEncodedVector = boost::container::static_vector<
IntegerEncodedValue, 64,
IntegerEncodedValue, 256,
boost::container::static_vector_options<
boost::container::inplace_alignment<alignof(IntegerEncodedValue)>,
boost::container::throw_on_overflow<false>>::type>;