Re: Uninitialized memory access in zic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Uninitialized memory access in zic
Date: 2026-05-29 16:57:43
Message-ID: 1688663.1780073863@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> Valgrind on zic, run during the build, complains about a jump depending on
> uninitialized memory. A cursory check seems to confirm that, but I don't
> understand the code at all:

That code looks noticeably different in current upstream, so I suspect
Eggert and crew found and fixed this already. We should probably not
invest brain cells in tracking it down ourselves, but rather
prioritize updating our code to some more-recent tzcode version.
I've been meaning to do that for awhile now, will try to boost it
to the top of my to-do list.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-05-29 17:04:16 Re: future of PQfn()
Previous Message Srinath Reddy Sadipiralla 2026-05-29 16:44:10 Re: Fix race in ReplicationSlotRelease for ephemeral slots