]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix meridian type in getdate.y 1290/head
authorJulien Rische <jrische@redhat.com>
Tue, 21 Feb 2023 09:03:35 +0000 (10:03 +0100)
committerGreg Hudson <ghudson@mit.edu>
Mon, 27 Feb 2023 23:51:10 +0000 (18:51 -0500)
commit0108d7d7fbb1111c062ac580e69e97103662fc2b
tree29b57f754df5c5ada630165f11e5df1b7115b32e
parent47c2a12830dbd7fb8e13c239ddc0ac74129a91f6
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>.

[ghudson@mit.edu: edited commit message]

ticket: 9087 (new)
tags: pullup
target_version: 1.20-next
src/kadmin/cli/getdate.y