Fix type of iterator variable in SH_START_ITERATE
Andres Freund <andres@anarazel.de>
Fix type of iterator variable in SH_START_ITERATE Also add comment to make the reasoning behind the Assert() more explicit (per Tom). Reported-by: Ranier Vilela Discussion: https://postgr.es/m/CAEudQAocXNJ6s1VLz+hMamLAQAiewRoW17OJ6-+9GACKfj6iPQ@mail.gmail.com Backpatch: 11-
Files
| Path | Change | +/− |
|---|---|---|
| src/include/lib/simplehash.h | modified | +2 −2 |
Discussion
- Avoid overflow with simplehash 13 messages · 2023-07-06