pgsql: Clear padding of PgStat_HashKey when handling pgstats entries

2024-11-04 Thread Michael Paquier
Clear padding of PgStat_HashKey when handling pgstats entries PgStat_HashKey is currently initialized in a way that could result in random data if the structure has any padding bytes. The structure has no padding bytes currently, fortunately, but it could become a problem should the structure cha

pgsql: Clear padding of PgStat_HashKey when handling pgstats entries

2024-11-04 Thread Michael Paquier
Clear padding of PgStat_HashKey when handling pgstats entries PgStat_HashKey is currently initialized in a way that could result in random data if the structure has any padding bytes. The structure has no padding bytes currently, fortunately, but it could become a problem should the structure cha

pgsql: Clear padding of PgStat_HashKey when handling pgstats entries

2024-11-04 Thread Michael Paquier
Clear padding of PgStat_HashKey when handling pgstats entries PgStat_HashKey is currently initialized in a way that could result in random data if the structure has any padding bytes. The structure has no padding bytes currently, fortunately, but it could become a problem should the structure cha

pgsql: Clear padding of PgStat_HashKey when handling pgstats entries

2024-11-04 Thread Michael Paquier
Clear padding of PgStat_HashKey when handling pgstats entries PgStat_HashKey is currently initialized in a way that could result in random data if the structure has any padding bytes. The structure has no padding bytes currently, fortunately, but it could become a problem should the structure cha