HomeIsabelle/Phabricator

Properly initialize unknown fields in `struct tm`.

Description

Properly initialize unknown fields in struct tm.

The uninitialized fields were causing a segfault on Linux+glibc, when
Date.fmt s was called and s contained %Z (or anything that expands to %Z,
such as %c under some locales).

Fixes #189.

Event Timeline

someplaceguy <someplaceguy@wizy.org> committed rPOLYML1482ad003b7b: Properly initialize unknown fields in `struct tm`. (authored by someplaceguy <someplaceguy@wizy.org>).Oct 30 2023, 8:30 PM