]> git.ipfire.org Git - thirdparty/systemd.git/commit
time-util: refuse non-zero gmtoff with non-UTC timezone 26649/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 3 Mar 2023 07:00:59 +0000 (16:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 3 Mar 2023 11:39:19 +0000 (20:39 +0900)
commit9f819781caee1b9a0bfe3a3211455a940a06f1ae
tree32665ccc7419f7b1073f0d6d965cdbf16c79dcbd
parent87e0fd575e8b5a747d25b0bd4cf5a7061c6f6ece
time-util: refuse non-zero gmtoff with non-UTC timezone

Also this moves the range check for gmtoff to parse_timestamp_impl(), to
address the post-merge comment:
https://github.com/systemd/systemd/pull/26409#discussion_r1118650190
src/basic/time-util.c