diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-09-16 14:57:51 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-09-16 14:57:51 -0300 |
commit | e51564d1bee5aa8b411328d7d3d75906dfc0a260 (patch) | |
tree | 0f2d6e9185961be7999757085226ca87a2c7486d /manual | |
parent | 98ec7995912af0aaaf9a97c5bc1be17e9b601af9 (diff) | |
download | lua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.tar.gz lua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.tar.bz2 lua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.zip |
Details in comments and documentation
Diffstat (limited to '')
-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| |