Changes for version v0.8.1 - 2026-09-08
- Security
- Fix denial-of-service in _normalize_leap_seconds (CWE-407). Thanks to CPANSec for reporting this. This routine iterated one day at a time to normalise the seconds count, so an attacker who could influence the seconds argument of $dt->add(seconds => $N) on a non-floating timezone could occupy a worker process for O(|N|/86400) iterations. Both the pure-Perl fallback and the XS path have been corrected to use constant-time integer division and a bounded leap-second correction, matching the existing _normalize_tai_seconds implementation.
Documentation
DateTime::Liteで使用する期間オブジェクト
DateTime::Lite用の例外オブジェクト
DateTime::Liteの無限過去および無限未来オブジェクト
DateTimeの軽量かつ依存関係の少ないドロップイン代替モジュール
DateTime::LiteのXS層のPure-Perlフォールバック
DateTime::Liteのための軽量なタイムゾーンサポート
Compare DateTime and DateTime::Lite performance
Build the DateTime::Lite::TimeZone SQLite database
Generate leap_seconds.h for DateTime::Lite XS
Modules
Lightweight, low-dependency drop-in replacement for DateTime
Duration objects for use with DateTime::Lite
Exception object for DateTime::Lite
Infinite past and future DateTime::Lite objects
Pure-Perl fallback for the DateTime::Lite XS layer
Lightweight timezone support for DateTime::Lite
Provides
in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite/Infinite.pm
in lib/DateTime/Lite.pm