Wed, 11 May 2022 20:41:39 +0200
fix pg_vfs_dirio_readdir not initializing some VFS_ENTRY fields
src/server/plugins/postgresql/vfs.c | file | annotate | diff | comparison | revisions |
--- a/src/server/plugins/postgresql/vfs.c Wed May 11 20:41:10 2022 +0200 +++ b/src/server/plugins/postgresql/vfs.c Wed May 11 20:41:39 2022 +0200 @@ -878,6 +878,8 @@ } entry->name = PQgetvalue(pg->result, pg->row, 1); + entry->stat_errno = 0; + entry->stat_extra = NULL; if(getstat) { memset(&entry->stat, 0, sizeof(struct stat));