pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Don't call fwrite() with len == 0 when writing out relcache init
6+ messages / 1 participants
[nested] [flat]

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c6bb380e5aba195204a9c6d0b4713bd1b3dec9c

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/89a94c24aadd8f40084339ea3d16e2e14fa9f629

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8014c61ebda10d39ef8855b4826aeba5cacd36e1

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2121d58091a3d6b53299d774f318cbdfb96076be

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Don't call fwrite() with len == 0 when writing out relcache init
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-03-23 20:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Don't call fwrite() with len == 0 when writing out relcache init file.

Noticed via -fsanitize=undefined.

Backpatch to all branches, for the same reasons as 46ab07ffda9.

Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f4615b9def5c7a4218c7e17f318e4b2eb2b1747

Modified Files
--------------
src/backend/utils/cache/relcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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


end of thread, other threads:[~2022-03-23 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't call fwrite() with len == 0 when writing out relcache init 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