r2dbc / r2dbc-mssql

R2DBC Driver for Microsoft SQL Server using TDS (Tabular Data Stream) Protocol
Apache License 2.0
183 stars 32 forks source link

Clob decoding is prone to in-character decoding splits #172

Closed mp911de closed 4 years ago

mp911de commented 4 years ago

Relates to #169 and #171. Decoding a CLOB stream is prone to decode characters in the middle of the char stream which can lead to invalid results. We need to make sure that decoding doesn't happen in the middle of a character.