Closed yzewei closed 2 months ago
I cannot reproduce it...can you provide a simple fix? Something like:
msg.msg_iov = &iov,
msg.msg_iovlen = 1,
msg.msg_control = cmsg_buf,
msg.msg_controllen = sizeof(cmsg_buf)
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
msg.msg_control = cmsg_buf;
msg.msg_controllen = sizeof(cmsg_buf);
msg_controllen = msg.msg_controllen;
I cannot reproduce it...can you provide a simple fix? Something like:
msg.msg_iov = &iov, msg.msg_iovlen = 1, msg.msg_control = cmsg_buf, msg.msg_controllen = sizeof(cmsg_buf)
like this? https://github.com/falcosecurity/libs/issues/1700#issuecomment-1965893916
yes!
I think this should have been fixed by: https://github.com/falcosecurity/libs/commit/83f152905b5ed714d044d2badf40f335ad7eeb39 (part of https://github.com/falcosecurity/libs/pull/1731)
Describe the bug
Problems discovered during the compilation of drivers_test https://github.com/falcosecurity/libs/tree/master/test/drivers
How to reproduce
libs/test/drivers/test_suites/syscall_exit_suite/recvmsg_x.cpp :579