Change #246308
Category | curl |
Changed by | Daniel Stenberg <daniel | @haxx.se>
Changed at | Tue 21 Oct 2025 10:11:43 |
Repository | https://github.com/curl/curl.git |
Project | curl |
Branch | master |
Revision | 9e198618dea14231488005b53c7800d4e80e2dce |
Comments
tool_parsecfg: detect and error on recursive --config use The config file parser now has a maximum level of inclusions allowed (5) to detect and prevent recursive inclusions of itself leading to badness. Bonus: clean up return code handling from the config parser. Test 774 verifies Closes #19168
Changed files
- src/tool_getparam.c
- src/tool_getparam.h
- src/tool_helpers.c
- src/tool_operate.c
- src/tool_parsecfg.c
- src/tool_parsecfg.h
- tests/data/Makefile.am
- tests/data/test2080
- tests/data/test462
- tests/data/test774