From 184f8d964836f0a245c6fe5a97b0ce73703b6068 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 06 2021 22:38:30 +0000 Subject: Apply patch glibc-rh1650571.patch patch_name: glibc-rh1650571.patch present_in_specfile: true location_in_specfile: 53 --- diff --git a/time/tzfile.c b/time/tzfile.c index 2a385b9..ea6e940 100644 --- a/time/tzfile.c +++ b/time/tzfile.c @@ -410,7 +410,8 @@ __tzfile_read (const char *file, size_t extra, char **extrap) /* First "register" all timezone names. */ for (i = 0; i < num_types; ++i) - (void) __tzstring (&zone_names[types[i].idx]); + if (__tzstring (&zone_names[types[i].idx]) == NULL) + goto ret_free_transitions; /* Find the standard and daylight time offsets used by the rule file. We choose the offsets in the types of each flavor that are