webmcp

view framework/env/trace/_new_entry.lua @ 448:e3da778a8bf3

Use snprintf instead of sprintf as a precautionary measure for security
author jbe
date Wed Jun 01 19:59:05 2016 +0200 (2016-06-01)
parents 04b648660f9a
children
line source
1 function trace._new_entry(node)
2 local node = node or {}
3 local stack = trace._stack
4 local parent = stack[#stack]
5 parent[#parent+1] = node
6 return node
7 end

Impressum / About Us