Skip to content

Undefined behavior for get_script_struct_just_created #553

@x87

Description

@x87

get_script_struct_just_created does not handle a situation when the new script creation failed.

stream_custom_script {scriptFileName} "this_script_does_not_exist.s"
int ptr = get_script_struct_just_created

ptr will point to a random script in the queue, and there is no indication of error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions