diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of index c37f3061..ff891399 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -6813,6 +6813,16 @@ As such, it is only available on some platforms | |||
6813 | (Windows, Linux, Mac OS X, Solaris, BSD, | 6813 | (Windows, Linux, Mac OS X, Solaris, BSD, |
6814 | plus other Unix systems that support the @id{dlfcn} standard). | 6814 | plus other Unix systems that support the @id{dlfcn} standard). |
6815 | 6815 | ||
6816 | This function is inherently insecure, | ||
6817 | as it allows Lua to call any function in any readable dynamic | ||
6818 | library in the system. | ||
6819 | (Lua calls any function assuming the function | ||
6820 | has a proper prototype and respects a proper protocol | ||
6821 | @see{lua_CFunction}. | ||
6822 | Therefore, | ||
6823 | calling an arbitrary function in an arbitrary dynamic library | ||
6824 | more often than not results in an access violation.) | ||
6825 | |||
6816 | } | 6826 | } |
6817 | 6827 | ||
6818 | @LibEntry{package.path| | 6828 | @LibEntry{package.path| |