pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
7+ messages / 2 participants
[nested] [flat]

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:11 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:11 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.158 -> r1.159)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.158&r2=1....)




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

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:11 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:11 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.158 -> r1.158.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.158&r2=1....)




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

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:11 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:11 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.137.2.1 -> r1.137.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.137.2.1&r...)




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

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:11 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:11 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.116.2.4 -> r1.116.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.116.2.4&r...)




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

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:12 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:12 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.101.2.5 -> r1.101.2.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.101.2.5&r...)




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

* pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used
@ 2009-07-06 19:12 Heikki Linnakangas <heikki@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: heikki@postgresql.org @ 2009-07-06 19:12 UTC (permalink / raw)
  To: pgsql-committers

Log Message:
-----------
Fix ancient bug in handling of to_char modifier 'TH', when used with HH.
In what seems like an oversight, we used to treat 'TH' the same as lowercase
'th', but only with HH/HH12.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        formatting.c (r1.84.4.4 -> r1.84.4.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c?r1=1.84.4.4&r2...)




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

* pgsql: Fix copying SockAddr struct
@ 2024-03-12 13:35 Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 7+ messages in thread

From: Heikki Linnakangas @ 2024-03-12 13:35 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix copying SockAddr struct

Valgrind alerted about accessing uninitialized bytes after commit
4945e4ed4a:

==700242== VALGRINDERROR-BEGIN
==700242== Conditional jump or move depends on uninitialised value(s)
==700242==    at 0x6D8A2A: getnameinfo_unix (ip.c:253)
==700242==    by 0x6D8BD1: pg_getnameinfo_all (ip.c:122)
==700242==    by 0x4B3EB6: BackendInitialize (postmaster.c:4266)
==700242==    by 0x4B684E: BackendStartup (postmaster.c:4114)
==700242==    by 0x4B6986: ServerLoop (postmaster.c:1780)
==700242==    by 0x4B80CA: PostmasterMain (postmaster.c:1478)
==700242==    by 0x3F7424: main (main.c:197)
==700242==  Uninitialised value was created by a stack allocation
==700242==    at 0x4B6934: ServerLoop (postmaster.c:1737)
==700242==
==700242== VALGRINDERROR-END

That was because the SockAddr struct was not copied correctly.

Per buildfarm animal "skink".

Branch
------
master

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

Modified Files
--------------
src/backend/libpq/pqcomm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



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


end of thread, other threads:[~2024-03-12 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-07-06 19:11 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2009-07-06 19:11 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2009-07-06 19:11 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2009-07-06 19:11 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2009-07-06 19:12 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2009-07-06 19:12 pgsql: Fix ancient bug in handling of to_char modifier 'TH', when used Heikki Linnakangas <heikki@postgresql.org>
2024-03-12 13:35 pgsql: Fix copying SockAddr struct Heikki Linnakangas <heikki.linnakangas@iki.fi>

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