libabigail/tests/data/test-ini
Dodji Seketeli 1392a720a8 ini: Do not crash on incorrect property value
When the value of the 'name_regexp' property is incorrect, the ini
parser can crash.

Pancake, of Radare2 fame, reported this one by email.

Fixed thus.

	* src/abg-ini.cc (read_context::read_property_value): Do not
	dereference a null pointer to list property value.
	* tests/data/test-ini/test02-buggy-property-value.abignore: New
	test input.
	* tests/data/test-ini/test02-buggy-property-value.abignore.expected:
	Likewise.
	* tests/data/Makefile.am: Add the two new test inputs to source
	distribution.
	* tests/test-ini.cc (in_out_spec): Add the new test input pair to
	this test harness.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2023-04-26 22:32:42 +02:00
..
test01-equal-in-property-string.abignore
test01-equal-in-property-string.abignore.expected
test02-buggy-property-value.abignore ini: Do not crash on incorrect property value 2023-04-26 22:32:42 +02:00
test02-buggy-property-value.abignore.expected ini: Do not crash on incorrect property value 2023-04-26 22:32:42 +02:00