[krbdev.mit.edu #9087] git commit

"Greg Hudson via RT" <[email protected]> Tue, 11 Jul 2023 18:56:56 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9087 >


Fix meridian type in getdate.y

Commit d3356bc42191c1896ab06835a2fb245e00471420 (ticket 8927)
incorrectly tagged tMERIDIAN as <Number>.  So while the lexer assigns
meridian values to the Meridian union field, the parser erroneously
reads them from the Number field.  On 64-bit IBM zSystems (s390x),
this can result in using the most recently read number as a meridian
value, leading to an abort in ToSeconds().

Fix the tMERIDIAN token type to be <Meridian>.

[[email protected]: edited commit message]

(cherry picked from commit 0108d7d7fbb1111c062ac580e69e97103662fc2b)

https://github.com/krb5/krb5/commit/5c2f26a24235228a436e7a03bb567a1269db71f2
Author: Julien Rische <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 5c2f26a24235228a436e7a03bb567a1269db71f2
Branch: krb5-1.20
 src/kadmin/cli/getdate.y | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)