Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ignore SECURITY file when scanning timezones #134

Closed
@Rdx31

Description

@Rdx31

Problem:

The Arch Linux core packagetzdata adds aSECURITY file in/usr/share/tzinfo since tzdata version2021c-1.

This file is basically a note to report security-related bugs to the right person:

Please report any sensitive security-related bugs via email to thetzdb designated coordinators, currently Paul Eggert<eggert@cs.ucla.edu> and Tim Parenti <tim@timtimeonline.com>.Put "tzdb security" at the start of your email's subject line.We prefer communications to be in English.[...]

tzinfo wants to use this file, which leads to an error.

How to reproduce:

Using Ruby IRB:

>>require'tzinfo'=>true>>TZInfo::Timezone.all.find_all{|tz|tz.current_period.abbreviation ==:some_abbrev}TZInfo::InvalidTimezoneIdentifier(Thefile'/usr/share/zoneinfo/SECURITY'does notstartwiththeexpectedheader.(loadingSECURITY))

Information:

toolversion
ruby2.6.2p47
tzinfo2.0.4
tzdata2021c-1 and above
linux kernel5.18.10-arch1-1

Fix:

I proposethis PR to exclude theSECURITY file from beeing used bytzinfo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp