Kong / Kong/lua-ip

Memory leak

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When low on memory, `lua_pushstring` can fail (and `longjmp` out). This will leave the list of interfaces uncollected https://github.com/Mashape/lua-ip/blob/4c0e6cba3a3c01cf7c70030970d7aad72cbd23e1/lua_ip.c#L59

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue points to lua_ip.c at line 59; start by tracing the interface-list lifetime through the lua_pushstring failure path. Confirm the low-memory behavior and consider the work complete when that failure path no longer leaves the interface list uncollected.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.