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 serhiy.storchaka
Recipients cfi, serhiy.storchaka, ukl, vstinner
Date 2017-06-17.16:32:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497717141.42.0.426317486264.issue30665@psf.upfronthosting.co.za>
In-reply-to
Content
The FreeBSD [1], OpenBSD [2], and Solaris 10 [3] documentations specify the third argument of ioctl() as either an int or a pointer.

Passing a 64-bit long instead of a 32-bit int on big-endian platform can cause incorrect interpretation of an argument.

[1] https://www.freebsd.org/cgi/man.cgi?query=ioctl&sektion=2
[2] http://man.openbsd.org/ioctl.2
[3] https://docs.oracle.com/cd/E26505_01/html/816-5167/ioctl-2.html
History
Date User Action Args
2017-06-17 16:32:21serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ukl, cfi
2017-06-17 16:32:21serhiy.storchakasetmessageid: <1497717141.42.0.426317486264.issue30665@psf.upfronthosting.co.za>
2017-06-17 16:32:21serhiy.storchakalinkissue30665 messages
2017-06-17 16:32:20serhiy.storchakacreate