Assertion failure in `_imp.get_frozen_object` if data object contains bad marshal data · Issue #105979 · python/cpython · GitHub
Skip to content

Assertion failure in _imp.get_frozen_object if data object contains bad marshal data #105979

Description

@chgnrdv

Repro:

import _imp
>>> _imp.get_frozen_object('x', b"6\'\xd5Cu\x12")

Output:

python: Objects/object.c:541: PyObject_Repr: Assertion `!_PyErr_Occurred(tstate)' failed.
Aborted (core dumped)

I'll submit a PR.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions