[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-16:19.tzcode

FreeBSD Errata Notices errata-notices at freebsd.org
Tue Dec 6 19:17:47 UTC 2016

Hash: SHA512

FreeBSD-EN-16:19.tzcode                                         Errata Notice
                                                          The FreeBSD Project

Topic:          Avoid warnings about valid time zone abbreviations

Category:       contrib
Module:         tzcode
Announced:      2016-12-06
Credits:        Baptiste Daroussin
Affects:        All supported versions of FreeBSD
Corrected:      2016-10-15 12:37:57 UTC (stable/11, 11.0-STABLE)
                2016-12-05 23:17:05 UTC (releng/11.0, 11.0-RELEASE-p4)
                2016-10-15 12:38:21 UTC (stable/10, 10.3-STABLE)
                2016-12-05 23:13:16 UTC (releng/10.3, 10.3-RELEASE-p13)
                2016-12-05 23:12:22 UTC (releng/10.2, 10.2-RELEASE-p26)
                2016-12-05 23:09:54 UTC (releng/10.1, 10.1-RELEASE-p43)
                2016-10-15 12:38:50 UTC (stable/9, 9.3-STABLE)
                2016-12-05 22:43:24 UTC (releng/9.3, 9.3-RELEASE-p51)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit

I.   Background

The zic(8) utility reads text from the file(s) named on the command line
and creates the time conversion information files specified in this input.

The zdump(8) utility prints the current time in each zonename named on the
command line.

II.  Problem Description

Until 2000, timezone abbreviations starting with ':', and could not contain
',', '-', '+', NUL, or a digit for POSIX compatibility.  In 2001, the POSIX
compatibility rules changed, and timezone abbreviations can contain only
'-', '+', and alphanumeric characters from the portable character set in the
current locale.

III. Impact

This is needed to be able to update tzdata to a newer version.

IV.  Workaround

No workaround is available, however systems configured to use Coordinated
Universal Time (UTC) are not affected.

V.   Solution

1) Upgrade your system to a supported FreeBSD stable or release / security
branch (releng) dated after the correction date.

2) To update your system via a binary patch:

Systems running a RELEASE version of FreeBSD on the i386 or amd64
platforms can be updated via the freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install

3) To update your system via a source code patch:

The following patches have been verified to apply to the applicable
FreeBSD release branches.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch https://security.FreeBSD.org/patches/EN-16:19/tzcode.patch
# fetch https://security.FreeBSD.org/patches/EN-16:19/tzcode.patch.asc
# gpg --verify tzcode.patch.asc

b) Apply the patch.  Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch

c) Recompile the operating system using buildworld and installworld as
described in <URL:https://www.FreeBSD.org/handbook/makeworld.html>.

VI.  Correction details

The following list contains the correction revision numbers for each
affected branch.

Branch/path                                                      Revision
- -------------------------------------------------------------------------
stable/9/                                                         r307360
releng/9.3/                                                       r309567
stable/10/                                                        r307359
releng/10.1/                                                      r309570
releng/10.2/                                                      r309571
releng/10.3/                                                      r309572
stable/11/                                                        r307358
releng/11.0/                                                      r309573
- -------------------------------------------------------------------------

To see which files were modified by a particular revision, run the
following command, replacing NNNNNN with the revision number, on a
machine with Subversion installed:

# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base

Or visit the following URL, replacing NNNNNN with the revision number:


VII. References

The latest revision of this advisory is available at


More information about the freebsd-announce mailing list