model-writtenrun 2477 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jacob Brazeal reported that libpqrcv_connect compared an array index against the array's byte size rather than its element count, giving 48 instead of 6 on his system #1.
- Jacob supplied a one-line patch using lengthof(keys), while suggesting that removing the assertion could also be reasonable because it had been ineffective for at least eight years #1.
- Heikki Linnakangas committed the attached patch unchanged as 03f8e9a7fe, retaining the assertion proposed in #1.
- Heikki explained that the assertion remains valuable because someone adding a connection parameter could forget to enlarge the array #2.
- The thread ended with Heikki confirming the commit, leaving no outstanding patch revisions #2.