model-writtenrun 464 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ilia Kashintsev reported an ASAN crash when a configuration include named a directory and proposed rejecting directories before parsing in #1.
- Andrey Rachitskiy traced the crash to a scanner pointer whose value becomes indeterminate after siglongjmp and submitted a volatile-pointer fix in #2, addressing the cleanup failure directly.
- Michael Paquier reproduced the crash and caught a compiler warning caused by passing the volatile pointer to yylex_init(), then supplied a non-volatile initialization temporary and guarded cleanup in #3.
- Andrey accepted the temporary but argued that cleanup always had a live scanner in #4; Michael explained that callers can log below ERROR and revised the patch to exit through guarded cleanup after initialization failure in #5, while declining to improve the directory-specific error message.
- Andrey identified that the new initialization-failure path would still report success and requested OK = false in #6, but that assignment was not included in the eventual commit.
- Tom Lane raised the possibility of yy_create_buffer() returning NULL in #7, and Michael agreed in the thread's final message #8 to handle it defensively despite current flex behavior routing that failure through siglongjmp.
- Michael subsequently committed 803583ce74 from #5 with the additional buffer-failure check and backpatch instructions through PostgreSQL 18; the crash fix landed, while Andrey's success-status concern remained unaddressed in the supplied record.