mirror of https://github.com/postgres/postgres
After closedir() dirent->d_name is not valid anymore. As there alerady are a few places relying on the limited lifetime of pg_waldump, do so here as well, and just pg_strdup() the string. The bug was introduced inpull/81/headfc49e24fa6
. Found by UBSan, run locally. Backpatch: 11-, likefc49e24fa6
itself.
parent
cc7401d5ca
commit
264d284929
Loading…
Reference in new issue