Skip to content

Commit

Permalink
* sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
Browse files Browse the repository at this point in the history
	of trying to encode uninitialized arglen.

2005-04-04  Ulrich Drepper  <drepper@redhat.com>

	* timezone/scheck.c: Update from tzcode2005h.
	* timezone/tzfile.h: Likewise.
	* timezone/zdump.c: Likewise.
	* timezone/zic.c: Likewise.

	* timezone/antarctica: Update from tzdata2005h.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/etcetera: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/leapseconds: Likewise.
	* timezone/iso3166.tab: Likewise.
  • Loading branch information
Ulrich Drepper committed Apr 4, 2005
1 parent 91682d7 commit 7a50b1f
Show file tree
Hide file tree
Showing 15 changed files with 305 additions and 237 deletions.
22 changes: 22 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
2005-04-04 Jakub Jelinek <jakub@redhat.com>

* sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
of trying to encode uninitialized arglen.

2005-04-04 Ulrich Drepper <drepper@redhat.com>

* timezone/scheck.c: Update from tzcode2005h.
* timezone/tzfile.h: Likewise.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.

* timezone/antarctica: Update from tzdata2005h.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/etcetera: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/leapseconds: Likewise.
* timezone/iso3166.tab: Likewise.

2005-03-31 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
Expand Down
3 changes: 2 additions & 1 deletion sunrpc/pmap_rmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap)
INTUSE(xdr_u_long) (xdrs, &(cap->vers)) &&
INTUSE(xdr_u_long) (xdrs, &(cap->proc)))
{
u_long dummy_arglen = 0;
lenposition = XDR_GETPOS (xdrs);
if (!INTUSE(xdr_u_long) (xdrs, &(cap->arglen)))
if (!INTUSE(xdr_u_long) (xdrs, &dummy_arglen))
return FALSE;
argposition = XDR_GETPOS (xdrs);
if (!(*(cap->xdr_args)) (xdrs, cap->args_ptr))
Expand Down
33 changes: 17 additions & 16 deletions timezone/antarctica
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @(#)antarctica 7.23
# @(#)antarctica 7.24

# From Paul Eggert (1999-11-15):
# To keep things manageable, we list only locations occupied year-round; see
Expand Down Expand Up @@ -90,19 +90,19 @@ Zone Antarctica/Mawson 0 - zzz 1954 Feb 13
# </a>

# Brazil - year-round base
# Ferraz, King George Island, since 1983/4
# Comandante Ferraz, King George Island, -6205+05824, since 1983/4

# Chile - year-round bases and towns
# Escudero, South Shetland Is, -621157-0585735, since 1994
# Frei, King George Island, -6214-05848, since 1969-03-07
# O'Higgins, Antarctic Peninsula, -6319-05704, since 1948-02
# Prat, -6230-05941
# Villa Las Estrellas (a town), King George Island, since 1984-04-09
# Presidente Eduadro Frei, King George Island, -6214-05848, since 1969-03-07
# General Bernardo O'Higgins, Antarctic Peninsula, -6319-05704, since 1948-02
# Capitan Arturo Prat, -6230-05941
# Villa Las Estrellas (a town), around the Frei base, since 1984-04-09
# These locations have always used Santiago time; use TZ='America/Santiago'.

# China - year-round bases
# Great Wall, King George Island, since 1985-02-20
# Zhongshan, Larsemann Hills, Prydz Bay, since 1989-02-26
# Great Wall, King George Island, -6213-05858, since 1985-02-20
# Zhongshan, Larsemann Hills, Prydz Bay, -6922+07623, since 1989-02-26

# France - year-round bases
#
Expand Down Expand Up @@ -145,14 +145,14 @@ Zone Antarctica/DumontDUrville 0 - zzz 1947


# Germany - year-round base
# Georg von Neumayer
# Georg von Neumayer, -7039-00815

# India - year-round base
# Dakshin Gangotri
# Dakshin Gangotri, -7005+01200

# Japan - year-round bases
# Dome Fuji
# Syowa
# Dome Fuji, -7719+03942
# Syowa, -690022+0393524
#
# From Hideyuki Suzuki (1999-02-06):
# In all Japanese stations, +0300 is used as the standard time. [See]
Expand All @@ -171,7 +171,7 @@ Zone Antarctica/Syowa 0 - zzz 1957 Jan 29
# </a>

# S Korea - year-round base
# King Sejong, King George Island, since 1988
# King Sejong, King George Island, -6213-05847, since 1988

# New Zealand - claims
# Balleny Islands (never inhabited)
Expand Down Expand Up @@ -202,7 +202,8 @@ Rule NZAQ 1990 max - Mar Sun>=15 2:00s 0 S
# Russia - year-round bases
# Bellingshausen, King George Island, -621159-0585337, since 1968-02-22
# Mirny, Davis coast, -6633+09301, since 1956-02
# Molodezhnaya, Alasheyev Bay, year-round from 1962-02 to 1999-07-01
# Molodezhnaya, Alasheyev Bay, -6740+04551,
# year-round from 1962-02 to 1999-07-01
# Novolazarevskaya, Queen Maud Land, -7046+01150,
# year-round from 1960/61 to 1992

Expand Down Expand Up @@ -234,8 +235,8 @@ Zone Antarctica/Vostok 0 - zzz 1957 Dec 16
6:00 - VOST # Vostok time

# S Africa - year-round bases
# Marion Island
# Sanae
# Marion Island, -4653+03752
# Sanae, -7141-00250

# UK
#
Expand Down
182 changes: 91 additions & 91 deletions timezone/asia
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @(#)asia 7.78
# @(#)asia 7.81

# This data is by no means authoritative; if you think you know better,
# go ahead and edit the file (and please send any changes to
Expand Down Expand Up @@ -107,7 +107,7 @@ Zone Asia/Baku 3:19:24 - LMT 1924 May 2
3:00 - BAKT 1957 Mar # Baku Time
4:00 RussiaAsia BAK%sT 1991 Mar 31 2:00s
3:00 1:00 BAKST 1991 Aug 30 # independence
3:00 RussiaAsia AZ%sT 1992 Sep lastSun 2:00s
3:00 RussiaAsia AZ%sT 1992 Sep lastSat 23:00
4:00 - AZT 1996 # Azerbaijan time
4:00 EUAsia AZ%sT 1997
4:00 Azer AZ%sT
Expand Down Expand Up @@ -137,8 +137,12 @@ Zone Asia/Thimphu 5:58:36 - LMT 1947 Aug 15 # or Thimbu
# British Indian Ocean Territory
# Whitman and the 1995 CIA time zone map say 5:00, but the
# 1997 and later maps say 6:00. Assume the switch occurred in 1996.
# We have no information as to when standard time was introduced;
# assume it occurred in 1907, the same year as Mauritius (which
# then contained the Chagos Archipelago).
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Indian/Chagos 5:00 - IOT 1996 # BIOT Time
Zone Indian/Chagos 4:49:40 - LMT 1907
5:00 - IOT 1996 # BIOT Time
6:00 - IOT

# Brunei
Expand Down Expand Up @@ -337,7 +341,7 @@ Link Asia/Nicosia Europe/Nicosia
# President Eduard Shevardnadze decreed Wednesday.
#
# From the BBC via Joseph S. Myers (2004-06-27):
#
#
# Georgia moved closer to Western Europe on Sunday... The former Soviet
# republic has changed its time zone back to that of Moscow. As a result it
# is now just four hours ahead of Greenwich Mean Time, rather than five hours
Expand Down Expand Up @@ -639,7 +643,8 @@ Rule Zion 1988 only - Apr 9 0:00 1:00 D
Rule Zion 1988 only - Sep 3 0:00 0 S

# From Ephraim Silverberg <ephraim@cs.huji.ac.il>
# (1997-03-04, 1998-03-16, 1998-12-28, 2000-01-17, 2000-07-25, and 2004-12-22):
# (1997-03-04, 1998-03-16, 1998-12-28, 2000-01-17, 2000-07-25, 2004-12-22,
# and 2005-02-17):

# According to the Office of the Secretary General of the Ministry of
# Interior, there is NO set rule for Daylight-Savings/Standard time changes.
Expand Down Expand Up @@ -735,91 +740,74 @@ Rule Zion 2003 only - Oct 3 1:00 0 S
Rule Zion 2004 only - Apr 7 1:00 1:00 D
Rule Zion 2004 only - Sep 22 1:00 0 S

# Yesterday, the Knesset Interior Committee passed a proposed (originally
# in March 2004) change to the Time Setting Law that would make the dates
# for DST from 2005 and beyond so that DST starts on the night _after_ the
# first night of the Passover holiday at midnight until midnight of the
# Saturday night _before_ the fast of Yom Kippur.
# The proposed law agreed upon by the Knesset Interior Committee on
# 2005-02-14 is that, for 2005 and beyond, DST starts at 02:00 the
# last Friday before April 2nd (i.e. the last Friday in March or April
# 1st itself if it falls on a Friday) and ends at 02:00 on the Saturday
# night _before_ the fast of Yom Kippur.
#
# Those who can read Hebrew can view the announcement at:
#
# Those who can read Hebrew can view the proposal at:
# ftp://ftp.cs.huji.ac.il/pub/tz/announcements/2005+beyond.ps

# From Paul Eggert (2005-02-22):
# I used Ephraim Silverberg's dst-israel.el program
# <ftp://ftp.cs.huji.ac.il/pub/tz/software/dst-israel.el> (2005-02-20)
# along with Ed Reingold's cal-hebrew in GNU Emacs 21.4,
# to generate the transitions in this list.
# (I replaced "lastFri" with "Fri>=26" by hand.)
# The spring transitions below all correspond to the following Rule:
#
# ftp://ftp.cs.huji.ac.il/pub/tz/announcements/2005+.ps
# Rule Zion 2005 max - Mar Fri>=26 2:00 1:00 D
#
# The proposal still has to be passed by the Knesset (three readings) for
# it to become law....
# but older zic implementations (e.g., Solaris 8) do not support
# "Fri>=26" to mean April 1 in years like 2005, so for now we list the
# springtime transitions explicitly.

# From Paul Eggert (2004-12-22):
# For now, guess that the rules proposed on 2004-12-20 will be adopted.
# This is quite possibly wrong, but it is more likely than no DST at all.
# I used Ed Reingold's cal-hebrew in GNU Emacs 21.3, along with code
# written by Ephraim Silverberg, to generate this list.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Zion 2005 only - Apr 25 0:00 1:00 D
Rule Zion 2005 only - Oct 9 0:00 0 S
Rule Zion 2006 only - Apr 14 0:00 1:00 D
Rule Zion 2006 only - Oct 1 0:00 0 S
Rule Zion 2007 only - Apr 4 0:00 1:00 D
Rule Zion 2007 only - Sep 16 0:00 0 S
Rule Zion 2008 only - Apr 21 0:00 1:00 D
Rule Zion 2008 only - Oct 5 0:00 0 S
Rule Zion 2009 only - Apr 10 0:00 1:00 D
Rule Zion 2009 only - Sep 27 0:00 0 S
Rule Zion 2010 only - Mar 31 0:00 1:00 D
Rule Zion 2010 only - Sep 12 0:00 0 S
Rule Zion 2011 only - Apr 20 0:00 1:00 D
Rule Zion 2011 only - Oct 2 0:00 0 S
Rule Zion 2012 only - Apr 8 0:00 1:00 D
Rule Zion 2012 only - Sep 23 0:00 0 S
Rule Zion 2013 only - Mar 27 0:00 1:00 D
Rule Zion 2013 only - Sep 8 0:00 0 S
Rule Zion 2014 only - Apr 16 0:00 1:00 D
Rule Zion 2014 only - Sep 28 0:00 0 S
Rule Zion 2015 only - Apr 5 0:00 1:00 D
Rule Zion 2015 only - Sep 20 0:00 0 S
Rule Zion 2016 only - Apr 24 0:00 1:00 D
Rule Zion 2016 only - Oct 9 0:00 0 S
Rule Zion 2017 only - Apr 12 0:00 1:00 D
Rule Zion 2017 only - Sep 24 0:00 0 S
Rule Zion 2018 only - Apr 1 0:00 1:00 D
Rule Zion 2018 only - Sep 16 0:00 0 S
Rule Zion 2019 only - Apr 21 0:00 1:00 D
Rule Zion 2019 only - Oct 6 0:00 0 S
Rule Zion 2020 only - Apr 10 0:00 1:00 D
Rule Zion 2020 only - Sep 27 0:00 0 S
Rule Zion 2021 only - Mar 29 0:00 1:00 D
Rule Zion 2021 only - Sep 12 0:00 0 S
Rule Zion 2022 only - Apr 17 0:00 1:00 D
Rule Zion 2022 only - Oct 2 0:00 0 S
Rule Zion 2023 only - Apr 7 0:00 1:00 D
Rule Zion 2023 only - Sep 24 0:00 0 S
Rule Zion 2024 only - Apr 24 0:00 1:00 D
Rule Zion 2024 only - Oct 6 0:00 0 S
Rule Zion 2025 only - Apr 14 0:00 1:00 D
Rule Zion 2025 only - Sep 28 0:00 0 S
Rule Zion 2026 only - Apr 3 0:00 1:00 D
Rule Zion 2026 only - Sep 20 0:00 0 S
Rule Zion 2027 only - Apr 23 0:00 1:00 D
Rule Zion 2027 only - Oct 10 0:00 0 S
Rule Zion 2028 only - Apr 12 0:00 1:00 D
Rule Zion 2028 only - Sep 24 0:00 0 S
Rule Zion 2029 only - Apr 1 0:00 1:00 D
Rule Zion 2029 only - Sep 16 0:00 0 S
Rule Zion 2030 only - Apr 19 0:00 1:00 D
Rule Zion 2030 only - Oct 6 0:00 0 S
Rule Zion 2031 only - Apr 9 0:00 1:00 D
Rule Zion 2031 only - Sep 21 0:00 0 S
Rule Zion 2032 only - Mar 28 0:00 1:00 D
Rule Zion 2032 only - Sep 12 0:00 0 S
Rule Zion 2033 only - Apr 15 0:00 1:00 D
Rule Zion 2033 only - Oct 2 0:00 0 S
Rule Zion 2034 only - Apr 5 0:00 1:00 D
Rule Zion 2034 only - Sep 17 0:00 0 S
Rule Zion 2035 only - Apr 25 0:00 1:00 D
Rule Zion 2035 only - Oct 7 0:00 0 S
Rule Zion 2036 only - Apr 13 0:00 1:00 D
Rule Zion 2036 only - Sep 28 0:00 0 S
Rule Zion 2037 only - Apr 1 0:00 1:00 D
Rule Zion 2037 only - Sep 13 0:00 0 S
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Zion 2005 only - Apr 1 2:00 1:00 D
Rule Zion 2005 only - Oct 9 2:00 0 S
Rule Zion 2006 2010 - Mar Fri>=26 2:00 1:00 D
Rule Zion 2006 only - Oct 1 2:00 0 S
Rule Zion 2007 only - Sep 16 2:00 0 S
Rule Zion 2008 only - Oct 5 2:00 0 S
Rule Zion 2009 only - Sep 27 2:00 0 S
Rule Zion 2010 only - Sep 12 2:00 0 S
Rule Zion 2011 only - Apr 1 2:00 1:00 D
Rule Zion 2011 only - Oct 2 2:00 0 S
Rule Zion 2012 2015 - Mar Fri>=26 2:00 1:00 D
Rule Zion 2012 only - Sep 23 2:00 0 S
Rule Zion 2013 only - Sep 8 2:00 0 S
Rule Zion 2014 only - Sep 28 2:00 0 S
Rule Zion 2015 only - Sep 20 2:00 0 S
Rule Zion 2016 only - Apr 1 2:00 1:00 D
Rule Zion 2016 only - Oct 9 2:00 0 S
Rule Zion 2017 2021 - Mar Fri>=26 2:00 1:00 D
Rule Zion 2017 only - Sep 24 2:00 0 S
Rule Zion 2018 only - Sep 16 2:00 0 S
Rule Zion 2019 only - Oct 6 2:00 0 S
Rule Zion 2020 only - Sep 27 2:00 0 S
Rule Zion 2021 only - Sep 12 2:00 0 S
Rule Zion 2022 only - Apr 1 2:00 1:00 D
Rule Zion 2022 only - Oct 2 2:00 0 S
Rule Zion 2023 2032 - Mar Fri>=26 2:00 1:00 D
Rule Zion 2023 only - Sep 24 2:00 0 S
Rule Zion 2024 only - Oct 6 2:00 0 S
Rule Zion 2025 only - Sep 28 2:00 0 S
Rule Zion 2026 only - Sep 20 2:00 0 S
Rule Zion 2027 only - Oct 10 2:00 0 S
Rule Zion 2028 only - Sep 24 2:00 0 S
Rule Zion 2029 only - Sep 16 2:00 0 S
Rule Zion 2030 only - Oct 6 2:00 0 S
Rule Zion 2031 only - Sep 21 2:00 0 S
Rule Zion 2032 only - Sep 12 2:00 0 S
Rule Zion 2033 only - Apr 1 2:00 1:00 D
Rule Zion 2033 only - Oct 2 2:00 0 S
Rule Zion 2034 2037 - Mar Fri>=26 2:00 1:00 D
Rule Zion 2034 only - Sep 17 2:00 0 S
Rule Zion 2035 only - Oct 7 2:00 0 S
Rule Zion 2036 only - Sep 28 2:00 0 S
Rule Zion 2037 only - Sep 13 2:00 0 S

# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Jerusalem 2:20:56 - LMT 1880
Expand Down Expand Up @@ -939,6 +927,13 @@ Zone Asia/Amman 2:23:44 - LMT 1931
# - Qyzylorda switched from +5:00 to +6:00 on 1992-01-19 02:00.
# - Oral switched from +5:00 to +4:00 in spring 1989.
#
# <a href="http://www.kazsociety.org.uk/news/2005/03/30.htm">
# From Kazakhstan Embassy's News Bulletin #11 (2005-03-21):
# </a>
# The Government of Kazakhstan passed a resolution March 15 abolishing
# daylight saving time citing lack of economic benefits and health
# complications coupled with a decrease in productivity.
#
#
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
#
Expand All @@ -947,7 +942,8 @@ Zone Asia/Almaty 5:07:48 - LMT 1924 May 2 # or Alma-Ata
5:00 - ALMT 1930 Jun 21 # Alma-Ata Time
6:00 RussiaAsia ALM%sT 1991
6:00 - ALMT 1992
6:00 RussiaAsia ALM%sT
6:00 RussiaAsia ALM%sT 2005 Mar 15
6:00 - ALMT
# Qyzylorda (aka Kyzylorda, Kizilorda, Kzyl-Orda, etc.)
Zone Asia/Qyzylorda 4:21:52 - LMT 1924 May 2
4:00 - KIZT 1930 Jun 21 # Kizilorda Time
Expand All @@ -957,7 +953,8 @@ Zone Asia/Qyzylorda 4:21:52 - LMT 1924 May 2
5:00 RussiaAsia KIZ%sT 1991
5:00 - KIZT 1991 Dec 16 # independence
5:00 - QYZT 1992 Jan 19 2:00
6:00 RussiaAsia QYZ%sT
6:00 RussiaAsia QYZ%sT 2005 Mar 15
6:00 - QYZT
# Aqtobe (aka Aktobe, formerly Akt'ubinsk)
Zone Asia/Aqtobe 3:48:40 - LMT 1924 May 2
4:00 - AKTT 1930 Jun 21 # Aktyubinsk Time
Expand All @@ -966,7 +963,8 @@ Zone Asia/Aqtobe 3:48:40 - LMT 1924 May 2
6:00 - AKTT 1982 Apr 1
5:00 RussiaAsia AKT%sT 1991
5:00 - AKTT 1991 Dec 16 # independence
5:00 RussiaAsia AQT%sT # Aqtobe Time
5:00 RussiaAsia AQT%sT 2005 Mar 15 # Aqtobe Time
5:00 - AQTT
# Mangghystau
# Aqtau was not founded until 1963, but it represents an inhabited region,
# so include time stamps before 1963.
Expand All @@ -978,7 +976,8 @@ Zone Asia/Aqtau 3:21:04 - LMT 1924 May 2
5:00 RussiaAsia SHE%sT 1991
5:00 - SHET 1991 Dec 16 # independence
5:00 RussiaAsia AQT%sT 1995 Mar lastSun 2:00 # Aqtau Time
4:00 RussiaAsia AQT%sT
4:00 RussiaAsia AQT%sT 2005 Mar 15
4:00 - AQTT
# West Kazakhstan
Zone Asia/Oral 3:25:24 - LMT 1924 May 2 # or Ural'sk
4:00 - URAT 1930 Jun 21 # Ural'sk time
Expand All @@ -988,7 +987,8 @@ Zone Asia/Oral 3:25:24 - LMT 1924 May 2 # or Ural'sk
5:00 RussiaAsia URA%sT 1989 Mar 26 2:00
4:00 RussiaAsia URA%sT 1991
4:00 - URAT 1991 Dec 16 # independence
4:00 RussiaAsia ORA%sT # Oral Time
4:00 RussiaAsia ORA%sT 2005 Mar 15 # Oral Time
4:00 - ORAT

# Kyrgyzstan (Kirgizstan)
# Transitions through 1991 are from Shanks.
Expand Down
Loading

0 comments on commit 7a50b1f

Please sign in to comment.