A stack-buffer-overflow exercise with AddressSanitizer and PostgreSQL
Summary
A detailed account of using AddressSanitizer to uncover a stack-buffer-overflow in a PostgreSQL refactor. It explains how a miscounted function argument caused a core dump and shows how DirectFunctionCall3Coll fixes it, followed by practical steps to run AddressSanitizer locally.