From e5c4fc9fd6b77d92d0dae87afa0dc92104e30232 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 14 2021 14:57:12 +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