Re: Uninitialized memory access in zic

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2026-05-29T16:57:43Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.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