Skip to content

Standardize executable path location #525

@rennergade

Description

@rennergade

As of now, lind can execute a cwasm file living anywhere on the hosts filesystem, without regarding its relationship to lind_root. This can cause problems with consistency as seen here, possible security problems, or just lack of a general philosophy .

The simple fixes are just to change the lind-clang script to mv any executable to lind-root, or a relative path from there, and change lind-wasm to only execute things starting from lind-root.

We probably want to consider adding checks at runtime to only accept files with proper paths as well.

Metadata

Metadata

Assignees

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