Add asserts to bimapset manipulation functions
Alexander Korotkov <akorotkov@postgresql.org>
Add asserts to bimapset manipulation functions New asserts validate that arguments are really bitmapsets. This should help to early detect accesses to dangling pointers. Discussion: https://postgr.es/m/CAMbWs4_wJthNtYBL%2BSsebpgF-5L2r5zFFk6xYbS0A78GKOTFHw%40mail.gmail.com Reviewed-by: Richard Guo, Andres Freund, Ashutosh Bapat, Andrei Lepikhov
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/bitmapset.c | modified | +63 −14 |
Discussion
- Assert failure on 'list_member_ptr(rel->joininfo, restrictinfo)' 25 messages · 2023-11-14 → 2023-12-27