Blame SOURCES/0018-Fix-meridian-type-in-kadmin-datetime-parser.patch

905476
From 604fce63b468d0efce4438df4ba0286f00bfce8d Mon Sep 17 00:00:00 2001
905476
From: Julien Rische <jrische@redhat.com>
905476
Date: Tue, 21 Feb 2023 10:03:35 +0100
905476
Subject: [PATCH] Fix meridian type in kadmin datetime parser
905476
905476
The meridian suffix is typed as "Number" in kadmin YACC file for
905476
datetime parsing, while it should be using the "Meridian" enumeration
905476
one.
905476
905476
This results in invalid Meridian value on 64-bit IBM zSystems (s390x),
905476
causing core dumped errors on most kadmin commands where meridian
905476
suffices are used.
905476
905476
Upstream PR:
905476
https://github.com/krb5/krb5/pull/1290
905476
---
905476
 src/kadmin/cli/getdate.y | 3 ++-
905476
 1 file changed, 2 insertions(+), 1 deletion(-)
905476
905476
diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
905476
index b9dceec1ee..d14cf963c5 100644
905476
--- a/src/kadmin/cli/getdate.y
905476
+++ b/src/kadmin/cli/getdate.y
905476
@@ -181,7 +181,8 @@ static time_t	yyRelSeconds;
905476
 
905476
 %token			tAGO tID tDST tNEVER
905476
 %token	<Number>	tDAY tDAYZONE tMINUTE_UNIT tMONTH tMONTH_UNIT
905476
-%token	<Number>	tSEC_UNIT tSNUMBER tUNUMBER tZONE tMERIDIAN
905476
+%token	<Number>	tSEC_UNIT tSNUMBER tUNUMBER tZONE
905476
+%token	<Meridian>	tMERIDIAN
905476
 %type	<Meridian>	o_merid
905476
 
905476
 %%
905476
-- 
905476
2.39.1
905476