summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-09-30 12:49:42 (GMT)
committerGitHub <noreply@github.com>2019-09-30 12:49:42 (GMT)
commit18c4ba9f33868761e374a725d497902863d59ea9 (patch)
treefaff4258dee753ebc058f22c759b9a86787fa23d /Python
parent81f6b031c46721478372d77fe2e55aa1f8300ae1 (diff)
downloadcpython-18c4ba9f33868761e374a725d497902863d59ea9.zip
cpython-18c4ba9f33868761e374a725d497902863d59ea9.tar.gz
cpython-18c4ba9f33868761e374a725d497902863d59ea9.tar.bz2
bpo-38322: Fix gotlandmark() of PC/getpathp.c (GH-16490)
Write the filename into a temporary buffer instead of reusing prefix. The problem is that join() modifies prefix inplace. If prefix is not normalized, join() can make prefix shorter and so gotlandmark() does modify prefix instead of returning it unmodified.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions