Wang Yong-chao
Wang Yong-chao
Hi, there I find code in [here](https://github.com/FRRouting/frr/blob/master/bfdd/control.c#L415) may has a potential uncontrolled memory allocation issue. Here are details.  Label 1 (read msg but no limit to its length) ->...
# Labels Suggestion - `bug` - `memory-leak` - `critical` ## Issue Body --- ### Description TracyVector has a critical memory leak when used with non-trivially-destructible types. The destructor only calls...
## Summary This PR fixes a memory leak in `TracyVector` where element destructors are not called for non-trivially-destructible types. The bug affects production code using nested containers like `Vector`. ##...
## Description Replace std::map with std::unordered_map for _peer_to_session to achieve O(1) lookup performance instead of O(log n). The peer_t type (ENetPeer*) is a pointer, which has native hash support. All...