Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
K'van
Tales of MajEyal
Commits
d5084b8f
Commit
d5084b8f
authored
7 years ago
by
DarkGod
Browse files
Options
Downloads
Patches
Plain Diff
Removed an unsecure file access function
parent
05664778
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
premake4.lua
+1
-0
1 addition, 0 deletions
premake4.lua
src/lua/linit.c
+2
-0
2 additions, 0 deletions
src/lua/linit.c
src/luajit2/src/lib_init.c
+2
-0
2 additions, 0 deletions
src/luajit2/src/lib_init.c
with
5 additions
and
0 deletions
premake4.lua
+
1
−
0
View file @
d5084b8f
...
...
@@ -83,6 +83,7 @@ configuration "Debug"
targetdir
"bin/Debug"
if
_OPTIONS
.
luaassert
then
defines
{
"LUA_USE_APICHECK"
}
end
if
_OPTIONS
.
pedantic
then
buildoptions
{
"-Wall"
}
end
defines
{
"TE4_LUA_ALLOW_GENERIC_IO"
}
configuration
"Release"
defines
{
"NDEBUG=1"
}
...
...
This diff is collapsed.
Click to expand it.
src/lua/linit.c
+
2
−
0
View file @
d5084b8f
...
...
@@ -18,7 +18,9 @@ static const luaL_Reg lualibs[] = {
{
""
,
luaopen_base
},
{
LUA_LOADLIBNAME
,
luaopen_package
},
{
LUA_TABLIBNAME
,
luaopen_table
},
#ifdef TE4_LUA_ALLOW_GENERIC_IO
{
LUA_IOLIBNAME
,
luaopen_io
},
#endif
{
LUA_OSLIBNAME
,
luaopen_os
},
{
LUA_STRLIBNAME
,
luaopen_string
},
{
LUA_MATHLIBNAME
,
luaopen_math
},
...
...
This diff is collapsed.
Click to expand it.
src/luajit2/src/lib_init.c
+
2
−
0
View file @
d5084b8f
...
...
@@ -19,7 +19,9 @@ static const luaL_Reg lj_lib_load[] = {
{
""
,
luaopen_base
},
{
LUA_LOADLIBNAME
,
luaopen_package
},
{
LUA_TABLIBNAME
,
luaopen_table
},
#ifdef TE4_LUA_ALLOW_GENERIC_IO
{
LUA_IOLIBNAME
,
luaopen_io
},
#endif
{
LUA_OSLIBNAME
,
luaopen_os
},
{
LUA_STRLIBNAME
,
luaopen_string
},
{
LUA_MATHLIBNAME
,
luaopen_math
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment