mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-07 07:23:15 +00:00
Several cases where fixed in this patches, all are related to processing of malformed base64 data. Main purpose was to bring alternator implementation closer to what DynamoDB does. We now: - Throw error when padding is missing during base64 decoding - Throw error when base64 data is malformed - In alternator when invalid base64 data is fetched from DB (as opposed to being part of user's request) we now exclude such row during filtering Additionally some small code quality improvements: - avoid unnecessary type conversions in calls to rjson:from_strings functions - avoid some copy constructions in calls to rjson:from_strings functions Fixes https://github.com/scylladb/scylladb/issues/6487 Closes #11944 * github.com:scylladb/scylladb: alternator: evaluate expressions as false for stored malformed binary data rjson: avoid copy constructors in from_string calls when possible alternator: remove unused parameters from describe_items func utils: throw error on malformed input in base64 decode utils: throw error on missing padding in base64 decode