8000 crash on debug builds from byond_ffi_fn · Issue #90 · willox/auxtools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
crash on debug builds from byond_ffi_fn #90
Closed
@checkraisefold

Description

@checkraisefold

the byond_ffi_fn macro does not validate its argc or argv received from BYOND. when no arguments are passed through call_ext, argv is a null pointer and argc is 0; slice::from_raw_parts panics on debug builds when passed a null pointer as data.

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

      0