• deuce's avatar
    Fix memory clobbering bug in _fullpath()... · 60e890e8
    deuce authored
    If part of the path were removed (ie: "//", "/./", or "/../"), it's possible
    that the outer loop would extend past the string into uninitialized memory
    where it could potentially corrupt things.
    This was HIGHLY unlikely as it would stop at the first '/' and only corrupt
    memory in the presence of the previously mentioned patterns.
dirwrap.c 27.3 KB