model-writtenrun 3751 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Daniel Gustafsson reported that pg_dump could dereference a null strdup() result in hasSuffix() when memory allocation failed #1.
- Daniel proposed replacing strdup() with pg_strdup(), which handles allocation failure, and requested backpatching to PostgreSQL 16 #1.
- Tristan Partin reviewed the patch and said it looked good without requesting changes #2.
- Nathan Bossart also endorsed the patch in the final thread message, leaving no outstanding review requests #3.
- Daniel subsequently committed the patch unchanged as 30e54d5c5d and backpatched the same change to PostgreSQL 16 as 5b5db413d2, completing the proposed fix.