Defend against function calls with more than 8 arguments (code
authorTom Lane
Thu, 17 Jun 1999 22:21:41 +0000 (22:21 +0000)
committerTom Lane
Thu, 17 Jun 1999 22:21:41 +0000 (22:21 +0000)
commit5f74d499bfc07c43f44d0989aab6b23c6b5bfbb0
tree235f522a4c20f8acfcb04ec73883631607c12ce0
parent4c6538259659b6325da5205005846162c78fd593
Defend against function calls with more than 8 arguments (code
used to overrun its fixed-size arrays before detecting error; not cool).
Also, replace uses of magic constant '8' with 'MAXFARGS'.
src/backend/parser/parse_coerce.c
src/backend/parser/parse_func.c
src/backend/parser/parse_target.c
src/include/parser/parse_func.h