Merge pull request #5898 from Citadel-Station-13/upstream-merge-36286
[MIRROR] [s] Fix config loading exploit
This commit is contained in:
@@ -67,6 +67,9 @@
|
||||
entries_by_type -= CE.type
|
||||
|
||||
/datum/controller/configuration/proc/LoadEntries(filename, list/stack = list())
|
||||
if(IsAdminAdvancedProcCall())
|
||||
return
|
||||
|
||||
var/filename_to_test = world.system_type == MS_WINDOWS ? lowertext(filename) : filename
|
||||
if(filename_to_test in stack)
|
||||
log_config("Warning: Config recursion detected ([english_list(stack)]), breaking!")
|
||||
|
||||
Reference in New Issue
Block a user