Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Segfault: compile() assumes that if options, is a tuple, then it is a tuple of str (and doesn't check) #17

Description

@gmarkall

If you pass a tuple of something other than strings as the options to compile(), then:

compile_options[i] = PyUnicode_AsUTF8AndSize(item, nullptr);

puts null pointers into the list of options to pass to nvPTXCompilerCompile, and causes a segfault.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions