model-writtenrun 1356 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis submitted three patches in #1 to fix libc and ICU memory leaks and make two identifier-downcasing functions interpret srclen == -1 as a NUL-terminated string, stating that AI assistance found the problems but he wrote the patches.
- Chao Li endorsed both memory-leak patches in #2, requested explanatory header comments for the length-handling patch, and asked whether char2wchar's unsigned return type and comparison with -1 warranted another fix.
- Jeff Davis committed the libc component unchanged on January 29 as de90bb7db1, explaining that the leaks were difficult to reach and low impact but simple enough to fix and backport through PostgreSQL 18.
- Jeff Davis committed the ICU component unchanged on February 26 as d942511f08, with backports through PostgreSQL 16 and minor adaptation needed before PostgreSQL 18.
- The supplied discussion ends at #2 with the comment request and char2wchar question unanswered; the candidate commits establish that both memory-leak components subsequently landed, while the supplied evidence does not establish a landing or withdrawal of the srclen cleanup.