Skip to content

Closing DEFAULT or NEXT can crash Ruby #207

Description

@kojix2

Yet another bug report based on some rough AI-assisted investigation.

require "fiddle"

Fiddle::Handle::DEFAULT.close
Fiddle::Handle::NEXT.close

Both are pseudo-handles for symbol lookup, not real dlopen() handles. They must not be passed to dlclose().
Expected: raise an exception or do nothing.

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