aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
authorDemi Marie Obenour <demi@invisiblethingslab.com>2024-07-24 21:20:12 -0400
committerSimon Ser <contact@emersion.fr>2024-08-18 17:08:56 +0000
commit6c4a695045155583a99f3fbce7bb745f79c2e726 (patch)
tree7522110d7bd6c3ae35e5ecb56b32323866a5cc05 /tests/cpp-compile-test.cpp
parentmeson: Fix use of install_data() without specifying install_dir (diff)
downloadwayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar.gz
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar.bz2
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar.lz
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar.xz
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.tar.zst
wayland-6c4a695045155583a99f3fbce7bb745f79c2e726.zip
connection: Reject strings containing NUL bytes
libwayland cannot construct these messages as it uses strlen() to determine string lengths. libwayland is also guaranteed to misinterpret these messages, since message handlers only get a pointer and no length. Therefore, reject strings containing NUL bytes. Also remove a redundant check from the unmarshalling code. The zero-length case has already been checked for. Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions