This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author baikie
Recipients baikie, brett.cannon, ned.deily
Date 2015-04-16.17:36:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429205764.49.0.3750725825.issue23828@psf.upfronthosting.co.za>
In-reply-to
Content
In this test (and nearby ones), the receiver provides too little space to receive the file descriptors that are sent, so that the control message has to be truncated if it is to be received at all.  The warning may indicate that the cmsghdr struct received still claims that the message contains the full amount of data (so that socket.recvmsg() would overrun the buffer if it actually believed the cmsghdr).

With that in mind, you might want to check whether file descriptors that don't fit are still received (say the sender sends three file descriptors when the receiver only asks for two, and the receiver gets a control message saying it now has descriptors on numbers 3 and 4, but it also gets a file descriptor on number 5 which it isn't told about).  If they are, it's a kernel bug which could be used for denial of service by exhausting the receiving process' quota of file descriptors (and the warning would probably go away if it were fixed).
History
Date User Action Args
2015-04-16 17:36:04baikiesetrecipients: + baikie, brett.cannon, ned.deily
2015-04-16 17:36:04baikiesetmessageid: <1429205764.49.0.3750725825.issue23828@psf.upfronthosting.co.za>
2015-04-16 17:36:04baikielinkissue23828 messages
2015-04-16 17:36:04baikiecreate