Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/library_manager/llext_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,12 @@ static int llext_manager_mod_init(struct lib_manager_mod_ctx *ctx,
n_mod++;
}

if (!n_mod) {
Comment thread
tmleman marked this conversation as resolved.
tr_err(&lib_manager_tr, "no module segments in %u entries",
desc->header.num_module_entries);
return -EINVAL;
}

/*
* Loadable modules are loaded to DRAM once and never unloaded from it.
* Context, related to them, is never freed
Expand Down
Loading