summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-08-05 07:22:08 (GMT)
committerGitHub <noreply@github.com>2021-08-05 07:22:08 (GMT)
commit8f010dc920e1f6dc6a357e7cc1460a7a567c05c6 (patch)
treedab59bd945360b0d2e153fcaa47f64d5ee964f51 /Misc
parent3e4cb7f40f28f1c49e0e4c3e841549c53065af3c (diff)
downloadcpython-8f010dc920e1f6dc6a357e7cc1460a7a567c05c6.zip
cpython-8f010dc920e1f6dc6a357e7cc1460a7a567c05c6.tar.gz
cpython-8f010dc920e1f6dc6a357e7cc1460a7a567c05c6.tar.bz2
bpo-44822: Don't truncate `str`s with embedded NULL chars returned by `sqlite3` UDF callbacks (GH-27588)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-08-04-12-29-00.bpo-44822.zePNXA.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-08-04-12-29-00.bpo-44822.zePNXA.rst b/Misc/NEWS.d/next/Library/2021-08-04-12-29-00.bpo-44822.zePNXA.rst
new file mode 100644
index 0000000..d078142
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-08-04-12-29-00.bpo-44822.zePNXA.rst
@@ -0,0 +1,3 @@
+:mod:`sqlite3` user-defined functions and aggregators returning
+:class:`strings <str>` with embedded NUL characters are no longer
+truncated. Patch by Erlend E. Aasland.