[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2012-01-03 Thread Charles-François Natali
Charles-François Natali added the comment: Should be fixed now. Vilmos, thanks for the patch! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2012-01-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c10061df711 by Charles-François Natali in branch '2.7': Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by http://hg.python.org/cpython/rev/0c10061df711 New changeset cc346a672091 by Charles-François Natali in branch '3.2':

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2011-12-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2011-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2010-09-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis stage: -> patch review versions: +Python 3.1, Python 3.2 ___ Python tracker ___ ___ Pytho

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2010-09-28 Thread R. David Murray
Changes by R. David Murray : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue9975] Incorrect use of flowinfo and scope_id in IPv6 sockaddr tuple

2010-09-28 Thread Vilmos Nebehaj
New submission from Vilmos Nebehaj : Module/socketmodule.c incorrectly treats both sockaddr_in6->sin6_flowinfo and sockaddr_in6->sin6_scope_id as signed integers. They are 32-bit unsigned integers (even though sin6_flowinfo is just 20 bits). sin6_flowinfo also lacks the necessary endian conve