Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Evaluating code in struct construction is a possible security issue #51

@Oldes

Description

@Oldes

Such a code should not be allowed:

>> s: make struct! [ a: [uint8] probe random 100 ]
25
>> mold s
== "make struct! [a: [uint8] 25]"
>> spec-of s
== [a: [uint8] probe random 100]
>> probe make s []
make struct! [a: [uint8] 25] ;<---- the spec is not used anymore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions