Details in comments and documentation

This commit is contained in:
Roberto Ierusalimschy
2020-09-16 14:57:51 -03:00
parent 98ec799591
commit e51564d1be
2 changed files with 21 additions and 0 deletions

View File

@@ -6813,6 +6813,16 @@ As such, it is only available on some platforms
(Windows, Linux, Mac OS X, Solaris, BSD,
plus other Unix systems that support the @id{dlfcn} standard).
This function is inherently insecure,
as it allows Lua to call any function in any readable dynamic
library in the system.
(Lua calls any function assuming the function
has a proper prototype and respects a proper protocol
@see{lua_CFunction}.
Therefore,
calling an arbitrary function in an arbitrary dynamic library
more often than not results in an access violation.)
}
@LibEntry{package.path|