• D
    Ensure to NULL terminate string · 25e06aeb
    Daniel Gustafsson 提交于
    The strncpy() will make path2 non-NULL terminated in the (rare?)
    cases where filespaceLocation2 is MAXPGPATH chars long. Use strlcpy
    instead like other places in the codepath does and ensure we always
    have a NULL terminated string.
    25e06aeb
xlog_mm.c 52.2 KB