Message398869
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:35 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, erlendaasland |
2021-08-04 09:01:35 | serhiy.storchaka | set | messageid: <1628067695.34.0.587371889844.issue44822@roundup.psfhosted.org> |
2021-08-04 09:01:35 | serhiy.storchaka | link | issue44822 messages |
2021-08-04 09:01:35 | serhiy.storchaka | create | |
|