Files
yaml-libyaml/tests/Makefile.am
Ingy döt Net 8566d43341 Enforce nesting limit in scanner
MAX_NESTING_LEVEL was only checked in parser.c, so
yaml_parser_scan() callers had no depth protection.
Deep flow nesting caused O(n²) CPU via simple_keys
scanning. Add the limit check in the scanner's
yaml_parser_increase_flow_level() and a test.
2026-05-05 14:33:29 -04:00

10 lines
451 B
Makefile

AM_CPPFLAGS = -I$(top_srcdir)/include -Wall
#AM_CFLAGS = -Wno-pointer-sign
LDADD = $(top_builddir)/src/libyaml.la
TESTS = test-version test-reader test-nesting
check_PROGRAMS = test-version test-reader test-nesting
noinst_PROGRAMS = run-scanner run-parser run-loader run-emitter run-dumper \
example-reformatter example-reformatter-alt \
example-deconstructor example-deconstructor-alt \
run-parser-test-suite run-emitter-test-suite