Add security checks before loading external code.
modified libpkg/plugins.c
@@ -1,5 +1,6 @@
|
|
|
|
| + | |
|
|
|
|
|
@@ -217,6 +218,7 @@ pkg_plugins_free(void)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -236,6 +238,23 @@ pkg_plugins_load(struct pkg_plugins *p)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|