model-writtenrun 452 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ilya Gladyshev reported that an out-of-memory failure in PGTYPESnumeric_to_asc() could cause ecpg_store_input() to dereference NULL when binding numeric or decimal values #1.
- His patch frees the temporary numeric value, checks the conversion result, and frees the accumulated buffer and returns false on failure before reaching strlen() #1.
- Michael Paquier confirmed the problem and agreed that its unlikely occurrence justified fixing only the development branch #2.
- Michael committed the patch from #1 with its code unchanged as c83f7e727f.
- The submitted fix landed completely, and the commit explicitly records that no backpatch was made because this allocation-failure case is unlikely in practice c83f7e727f.