test_saslprep: Fix issue with copy of input bytea
Michael Paquier <michael@paquier.xyz>
test_saslprep: Fix issue with copy of input bytea The data given in input of the function may not be null-terminated, causing strlcpy() to complain with an invalid read. Issue spotted using valgrind. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/09df9d75-13e7-45fe-89af-33fe118e797b@gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/test_saslprep/test_saslprep.c | modified | +2 −1 |
Discussion
- Non-compliant SASLprep implementation for ASCII characters 9 messages · 2026-02-27 → 2026-04-13