diff options
Diffstat (limited to '3rdparty/libuv/test/test-pipe-getsockname.c')
-rw-r--r-- | 3rdparty/libuv/test/test-pipe-getsockname.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/libuv/test/test-pipe-getsockname.c b/3rdparty/libuv/test/test-pipe-getsockname.c index 5e036f9d528..58041c02668 100644 --- a/3rdparty/libuv/test/test-pipe-getsockname.c +++ b/3rdparty/libuv/test/test-pipe-getsockname.c @@ -114,6 +114,7 @@ TEST_IMPL(pipe_getsockname) { ASSERT(r == 0); ASSERT(buf[len - 1] != 0); + ASSERT(buf[len] == '\0'); ASSERT(memcmp(buf, TEST_PIPENAME, len) == 0); len = sizeof buf; |