mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-27 01:41:06 -05:00
tests: test that path names longer than 108 bytes are rejected
These would either overflow the struct sockaddr_un, or be truncated and leave a non-null-terminated string.
This commit is contained in:
parent
b486e3aba5
commit
d2bcffc470
2 changed files with 86 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ TESTS = \
|
|||
list-test \
|
||||
map-test \
|
||||
os-wrappers-test \
|
||||
sanity-test
|
||||
sanity-test \
|
||||
socket-test
|
||||
|
||||
check_PROGRAMS = \
|
||||
$(TESTS) \
|
||||
|
|
@ -26,6 +27,7 @@ fixed_test_SOURCES = fixed-test.c $(test_runner_src)
|
|||
list_test_SOURCES = list-test.c $(test_runner_src)
|
||||
map_test_SOURCES = map-test.c $(test_runner_src)
|
||||
sanity_test_SOURCES = sanity-test.c $(test_runner_src)
|
||||
socket_test_SOURCES = socket-test.c $(test_runner_src)
|
||||
|
||||
fixed_benchmark_SOURCES = fixed-benchmark.c
|
||||
|
||||
|
|
@ -37,6 +39,7 @@ os_wrappers_test_SOURCES = \
|
|||
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
|
||||
AM_CFLAGS = $(GCC_CFLAGS) $(FFI_CFLAGS)
|
||||
LDADD = $(top_builddir)/src/libwayland-util.la \
|
||||
$(top_builddir)/src/libwayland-client.la \
|
||||
$(top_builddir)/src/libwayland-server.la \
|
||||
-lrt -ldl $(FFI_LIBS)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue