pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Don't try to translate NULL in GetConfigOptionByNum().
4+ messages / 1 participants
[nested] [flat]

* pgsql: Don't try to translate NULL in GetConfigOptionByNum().
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 4+ messages in thread

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

Don't try to translate NULL in GetConfigOptionByNum().

Noticed via -fsanitize=undefined. Introduced when a few columns in
GetConfigOptionByNum() / pg_settings started to be translated in 72be8c29a /
PG 12.

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

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ac7d024122f26d828907f15d088dcd67d2eb4f1

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



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

* pgsql: Don't try to translate NULL in GetConfigOptionByNum().
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 4+ messages in thread

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

Don't try to translate NULL in GetConfigOptionByNum().

Noticed via -fsanitize=undefined. Introduced when a few columns in
GetConfigOptionByNum() / pg_settings started to be translated in 72be8c29a /
PG 12.

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

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/81045e1e1c3370fb7e57c8841b0a7b6aab31831b

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



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

* pgsql: Don't try to translate NULL in GetConfigOptionByNum().
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 4+ messages in thread

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

Don't try to translate NULL in GetConfigOptionByNum().

Noticed via -fsanitize=undefined. Introduced when a few columns in
GetConfigOptionByNum() / pg_settings started to be translated in 72be8c29a /
PG 12.

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

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

Branch
------
REL_13_STABLE

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

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



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

* pgsql: Don't try to translate NULL in GetConfigOptionByNum().
@ 2022-03-23 20:36 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 4+ messages in thread

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

Don't try to translate NULL in GetConfigOptionByNum().

Noticed via -fsanitize=undefined. Introduced when a few columns in
GetConfigOptionByNum() / pg_settings started to be translated in 72be8c29a /
PG 12.

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

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/61a007feed526f2acde4822e27a599cb0a734dfe

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



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


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

Thread overview: 4+ 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 try to translate NULL in GetConfigOptionByNum(). Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't try to translate NULL in GetConfigOptionByNum(). Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't try to translate NULL in GetConfigOptionByNum(). Andres Freund <andres@anarazel.de>
2022-03-23 20:36 pgsql: Don't try to translate NULL in GetConfigOptionByNum(). 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