aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-09-16 14:57:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-09-16 14:57:51 -0300
commite51564d1bee5aa8b411328d7d3d75906dfc0a260 (patch)
tree0f2d6e9185961be7999757085226ca87a2c7486d /manual
parent98ec7995912af0aaaf9a97c5bc1be17e9b601af9 (diff)
downloadlua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.tar.gz
lua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.tar.bz2
lua-e51564d1bee5aa8b411328d7d3d75906dfc0a260.zip
Details in comments and documentation
Diffstat (limited to '')
-rw-r--r--manual/manual.of10
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,
6814plus other Unix systems that support the @id{dlfcn} standard). 6814plus other Unix systems that support the @id{dlfcn} standard).
6815 6815
6816This function is inherently insecure,
6817as it allows Lua to call any function in any readable dynamic
6818library in the system.
6819(Lua calls any function assuming the function
6820has a proper prototype and respects a proper protocol
6821@see{lua_CFunction}.
6822Therefore,
6823calling an arbitrary function in an arbitrary dynamic library
6824more often than not results in an access violation.)
6825
6816} 6826}
6817 6827
6818@LibEntry{package.path| 6828@LibEntry{package.path|