mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 16:40:35 +00:00
If _offset falls beyond compound_type->types().size() ignore the extra components instead of accessing out of the types vector range. FIXME: we should validate the thrift key against the schema and reject it in the thrift handler layer. Refs #7568 Test: unit(dev) DTest: cql_tests.py:MiscellaneousCQLTester.cql3_insert_thrift_test (dev, debug) Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20201108175738.1006817-1-bhalevy@scylladb.com>