Upstream software project

liblexical-sealrequirehints-perl

Prevent leakage of lexical hints

About liblexical-sealrequirehints-perl

Prevent leakage of lexical hints

This project links 9 native package records across 7 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 2 package records; Fedora 44: 2 package records; openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.liblexical-sealrequirehints-perl: recorded package coverageDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 432 recordsFedora 442 recordsopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
liblexical-sealrequirehints-perl
Publisher
Not authoritatively mapped
Native package records
9
Operating systems
debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Artistic-1.0 OR GPL-1.0-or-later
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This module works around two historical bugs in Perl's handling of the '%^H' (lexical hints) variable. One bug causes lexical state in one file to leak into another that is 'require'd/'use'd/'do'ed from it. This bug, [perl The second bug causes lexical state (normally a blank '%^H' once the first bug is fixed) to leak outwards from 'utf8.pm', if it is automatically loaded during Unicode regular expression matching, into whatever source is compiling at the time of the regexp match. This bug, [perl #73174], was present from Perl 5.8.7 up to Perl 5.11.5, fixed in Perl 5.12.0. Both of these bugs seriously damage the usability of any module relying on '%^H' for lexical scoping, on the affected Perl versions. It is in practice essential to work around these bugs when using such modules. On versions of Perl that require such a workaround, this module globally changes the behaviour of 'require', including 'use' and the implicit 'require' performed in Unicode regular expression matching, and of 'do', so that they no longer exhibit these bugs. The workaround supplied by this module takes effect the first time its 'import' method is called. Typically this will be done by means of a 'use' statement. This should be done as early as possible, because it only affects 'require'/'use'/'do' statements that are compiled after the workaround goes into effect. For 'use' statements, and 'require' and 'do' statements that are executed immediately and only once, it suffices to invoke the workaround when loading the first module that will set up vulnerable lexical state. Delayed-action 'require' and 'do' statements, however, are more troublesome, and can require the workaround to be loaded much earlier. Ultimately, an affected Perl program may need to load the workaround as very nearly its first action. Invoking this module multiple times, from multiple modules, is not a problem: the workaround is only applied once, and applies to everything subsequently compiled. This module is implemented in XS, with a pure Perl backup version for systems that can't handle XS modules. The XS version has a better chance of playing nicely with other modules that modify 'require' or 'do' handling. The pure Perl version can't work at all on some Perl versions; users of those versions must use the XS. On all Perl versions suffering the underlying hint leakage bug, pure Perl hooking of 'require' breaks the use of 'require' without an explicit parameter (implicitly using '$_').

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Source: liblexical-sealrequirehints-perl

Debian 13 (Trixie)

  1. Source: liblexical-sealrequirehints-perl

Fedora 43

  1. Source: perl-Lexical-SealRequireHints

  2. Source: perl-Lexical-SealRequireHints

Fedora 44

  1. Source: perl-Lexical-SealRequireHints

  2. Source: perl-Lexical-SealRequireHints

openSUSE Leap 15.6

  1. Package perl-Lexical-SealRequireHints

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Prevent leakage of lexical hints

    0.012-bp156.1.2: aarch64 ppc64le s390x x86_64

    Source: perl-Lexical-SealRequireHints

openSUSE Leap 16.0

  1. Package perl-Lexical-SealRequireHints

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): Prevent leakage of lexical hints

    0.012-bp160.1.11: aarch64 ppc64le s390x x86_64

    Source: perl-Lexical-SealRequireHints

openSUSE Tumbleweed

  1. Source: perl-Lexical-SealRequireHints

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.