Commit b7ea2ac
committed
module_adapter: Fix use after free in module_adapter_new_ext
Fix use after free in module_adapter_new_ext() by removing the dst access
after freeing mod. The dst points to a field inside the previously
allocated mod structure. The structure is freed on error so its fields do
not need to be cleared beforehand.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>1 parent a33aaa8 commit b7ea2ac
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | 338 | | |
343 | 339 | | |
344 | 340 | | |
| |||
0 commit comments