You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unbounded memory growth from untrusted templates and Template.packplan_for_ielist() cache #46
ie.for_template_entry() permanently registered every unknown (pen, num) received from wire templates into the global _ieForNum and _ieForName dicts, allowing untrusted network input to grow the global registry without bound.
@lru_cache(maxsize=32) on the bound method Template.packplan_for_ielist() cached self in a method-level LRU cache, holding strong references to Template instances globally and preventing garbage collection.
Activity