diff options
| author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-06-15 21:39:50 +0000 |
|---|---|---|
| committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-06-30 19:58:36 +0000 |
| commit | af5f8cc2004ae6a56447614ac9d61ac75115ea7d (patch) | |
| tree | 991e0859c6024fa530910a6a0ea5b96206e38e6a /tests/fixed-test.c | |
| parent | wayland-server: reject socket paths longer than 108 bytes (diff) | |
| download | wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar.gz wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar.bz2 wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar.lz wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar.xz wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.tar.zst wayland-af5f8cc2004ae6a56447614ac9d61ac75115ea7d.zip | |
wayland-client: reject socket paths longer than 108 bytes
Attempting to write anything longer into the embedded char
array would create a non-null-terminated string, and all
later reads would run off the end into invalid memory.
This is a hard limitation of AF_LOCAL/AF_UNIX sockets.
Diffstat (limited to 'tests/fixed-test.c')
0 files changed, 0 insertions, 0 deletions
