Author serhiy.storchaka
Recipients erlendaasland, serhiy.storchaka
Date 2021-08-04.09:01:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The difference between specifying negative and non-negative third argument of sqlite3_result_text() is that in the latter case the result can contain embedded NUL characters.

Could you please add a test for string containing embedded NUL?

Letting SQLite compute string length would work incorrect in case of embedded NULs, so I think that we should raise explicit error if sz > INT_MAX.
Date User Action Args
2021-08-04 09:01:35serhiy.storchakasetrecipients: + serhiy.storchaka, erlendaasland
2021-08-04 09:01:35serhiy.storchakasetmessageid: <>
2021-08-04 09:01:35serhiy.storchakalinkissue44822 messages
2021-08-04 09:01:35serhiy.storchakacreate