The patch added python2.7 (2.7.18-1~20.04.5) focal-security is indeed broken (see screenshot) in multiple places.
buf[pos] != 0x00 is always true in python2 buf[header_value_end_offset] != 0x0A is always true in python2 compare: python2 -c 'print(bytes(chr(0)) != 0x00)' loop is missing increase for pos at the end ** Attachment added: "Screenshot from 2024-11-20 11-07-06.png" https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/2089136/+attachment/5838790/+files/Screenshot%20from%202024-11-20%2011-07-06.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089136 Title: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/2089136/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
