core: forward - clone outbound buffer for SREV_NET_DATA_OUT event
authorDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 12 Aug 2019 09:14:38 +0000 (11:14 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Mon, 12 Aug 2019 09:14:38 +0000 (11:14 +0200)
commit98249e2cc97e818cf7ad492132ecfea2ce13a78b
tree9a07d45a0efcbcf450e754f0bd4af083c624f4df
parenteeade03783181aacdf0115a61050ec964434a880
core: forward - clone outbound buffer for SREV_NET_DATA_OUT event

- this event can execute a series of callbacks, leading to leak if only
the core function does pkg free
- GH #2027
src/core/forward.h