We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 258b4b4 commit e111e43Copy full SHA for e111e43
test/drivers/test_suites/syscall_exit_suite/connect_x.cpp
@@ -1,5 +1,4 @@
1
#include "../../event_class/event_class.h"
2
-#include <libscap/strl.h>
3
4
#if defined(__NR_connect) && defined(__NR_socket) && defined(__NR_bind) && defined(__NR_close)
5
@@ -194,7 +193,7 @@ TEST(SyscallExit, connectX_UNIX) {
194
193
if(ret == -1) {
195
FAIL() << "Failed to create symlink";
196
}
197
- strlcpy(server_addr.sun_path, server_symlink, MAX_SUN_PATH);
+ evt_test->server_fill_sockaddr_un(&server_addr, server_symlink);
198
199
assert_syscall_state(
200
SYSCALL_SUCCESS,
0 commit comments