• Victor Stinner's avatar
    bpo-38322: Fix gotlandmark() of PC/getpathp.c (GH-16489) · dec39716
    Victor Stinner authored
    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.
    dec39716
getpathp.c 35.2 KB