search for: control_un

Displaying 2 results from an estimated 2 matches for "control_un".

Did you mean: control_h
2017 Mar 03
14
[PATCH 00/11] Various Coverity fixes
Hi, this patch series fixes some issues discovered by Coverity. Most of them are memory leaks, usually on error; there are also invalid memory access issues. Thanks, Pino Toscano (11): java: link libguestfs_jni against libutils java: fix invalid memory access for FBuffer in struct lists daemon: tsk: properly use GUESTFS_MAX_CHUNK_SIZE edit: fix small memory leak on error java: fix
2002 Jan 21
1
help for tftp-hpa with libc5
...rror 1 === === recvfrom.c line 62 onwards struct cmsghdr *cmptr; union { struct cmsghdr cm; #ifdef IP_PKTINFO char control[CMSG_SPACE(sizeof(struct in_addr)) + CMSG_SPACE(sizeof(struct in_pktinfo))]; #else char control[CMSG_SPACE(sizeof(struct in_addr))]; #endif } control_un; int on = 1; #ifdef IP_PKTINFO struct in_pktinfo pktinfo; #endif === 105 if ( msg.msg_controllen < sizeof(struct cmsghdr) || === 109 for ( cmptr = CMSG_FIRSTHDR(&msg) ; cmptr != NULL ; I added the following to recvfrom.h (copied from glibc headers) === #define MSG_CTRUNC 0...