pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: simplehash: Free collisions array in SH_STAT
6+ messages / 1 participants
[nested] [flat]

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af7e90a2778625d63add69165fb68c370509a199

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/974374dcd394c80f37e20b692b7d8b122aa8ed33

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dcb7cf945c88eabce7f8350023b8184266d96a12

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/25ee58e8f26df9ce3037258206eb100a3fc55103

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/eabf98e949e3a655494a32ceb8d146117cce0505

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: simplehash: Free collisions array in SH_STAT
@ 2024-04-08 02:09 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2024-04-08 02:09 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

simplehash: Free collisions array in SH_STAT

While SH_STAT() is only used for debugging, the allocated array can be large,
and therefore should be freed.

It's unclear why coverity started warning now.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Reported-by: Coverity
Discussion: https://postgr.es/m/3005248.1712538233@sss.pgh.pa.us
Backpatch: 12-

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4b179a47242993fe48b1bfa21b17dc9d5e2b35a2

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2024-04-08 02:09 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>
2024-04-08 02:09 pgsql: simplehash: Free collisions array in SH_STAT Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox