Added a safety check to resolver

If the number of relatives exceeds 500  deep when resolving, libopenapi will now log a warning and escape that path from continuing. There is no reason on earth for a depth this large. It most likely indicates a circular reference that was ignored and then resolved.

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-12-03 09:15:19 -05:00
parent 82c9e21df1
commit afe5c1213b
3 changed files with 1444 additions and 1392 deletions

File diff suppressed because it is too large Load Diff