| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
🤖 New build scheduled with the buildbot fleet by @StanFromIreland for commit 027cfba 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F157191%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM; let's merge if the buildbots or the 3.13 backport don't fail in tarfile.
When merging: the commit message should mention that the fixed bug only exists in 3.13 and below.
Sorry, something went wrong.
|
|
||
| @symlink_test | ||
| @os_helper.skip_unless_hardlink | ||
| def test_sneaky_hardlink_relocation(self): |
There was a problem hiding this comment.
Do we want to test also a symlink pointing to a directory?
Sorry, something went wrong.
There was a problem hiding this comment.
I'm not sure what that would be testing, a hard link to a directory isn't possible.
Sorry, something went wrong.
There was a problem hiding this comment.
I meant a hard link to the symlink, where the symlink points to a directory.
Something like that:
2026-09-09T17:26:21.505759000+0200 maurycy@gimel /tmp/tarararara % tar tvf evil.tar
drw-r--r-- 0 0 0 0 Jan 1 1970 a/d/
-rw-r--r-- 0 0 0 5 Jan 1 1970 a/d/f
lrw-r--r-- 0 0 0 0 Jan 1 1970 a/b/s -> ../d
hrw-r--r-- 0 0 0 0 Jan 1 1970 s link to a/b/s
Sorry, something went wrong.
There was a problem hiding this comment.
os.link() raises on a directory, so it falls through to the fallback branch, which is the path test_sneaky_hardlink_fallback_deep covers.
Sorry, something went wrong.
Co-authored-by: Maurycy Pawłowski-Wieroński <maurycy@maurycy.com>
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
|
GH-157261 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-157262 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora Stable LTO + PGO 3.13 (tier-2) has failed when building commit b8f23e3. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/1494/builds/1358 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/test/test_smtpnet.py", line 54, in test_connect_host_port_starttls
server = smtplib.SMTP(f'{self.testServer}:{self.remotePort}')
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/smtplib.py", line 266, in __init__
raise SMTPConnectError(code, msg)
smtplib.SMTPConnectError: (421, b'4.4.5 Server busy, try again later. (smtp.gmail.com)\n4.4.5 For more information, go to\n4.4.5 https://support.google.com/a/answer/3221692 5b1f17b1804b1-49d1fb058c9sm1436945e9.0 - gsmtp')
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/test/test_smtpnet.py", line 92, in test_explicit_connect_host_port_starttls
server.starttls(context=context)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/smtplib.py", line 783, in starttls
self.ehlo_or_helo_if_needed()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/smtplib.py", line 620, in ehlo_or_helo_if_needed
if not (200 <= self.ehlo()[0] <= 299):
~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/smtplib.py", line 461, in ehlo
(code, msg) = self.getreply()
~~~~~~~~~~~~~^^
File "/var/lib/buildbot/worker/cstratak-fedora-stable-ppc64le/3.13.cstratak-fedora-stable-ppc64le.lto-pgo/build/Lib/smtplib.py", line 414, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
|
Sorry, something went wrong.
|
GH-158455 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…rd link to a symlink (pythonGH-157191) The backport to 3.13 and below includes a NEWS entry. (cherry picked from commit b8f23e3) Co-authored-by: Stan Ulbrych <stan@python.org>
|
GH-158457 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
…k to a symlink (GH-157191) (GH-157192) (#157454) * [3.12] gh-157190: Fix tarfile `data`/`tar` filter bypass via hard link to a symlink (GH-157191) (GH-157192) (cherry picked from commit 480ea4a) The backport to 3.13 and below includes a NEWS entry. (cherry picked from commit b8f23e3) Co-authored-by: Stan Ulbrych <stan@python.org> Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.