Skip to content

Fix checksum validation in datetime time zone names #6063

Open
@sffc

Description

@sffc

Currently we check the checksum only on the first load of a time zone name payload. However, we should retain the checksum in case we need to do further loads, at least the one in mz_periods.

This bug can probably be triggered by making a formatter with the pattern "ZZZZ VVVV" (two different time zone fields that both require loading metazone periods).

Also, consider optimizing BlobSchema::get_checksum to use the probe function. We shouldn't need to binary-search the ZeroTrie.

#6046

Metadata

Metadata

Assignees

Labels

C-datetimeComponent: datetime, calendars, time zonesT-bugType: Bad behavior, security, privacy

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions