Re: Potential memleak in bearerbox

2019-01-21 Thread amalysh
Hi, fixed in svn , thanks! Alex > Am 18.10.2018 um 11:38 schrieb Paul Bagyenda : > > Hi, > > In bb_boxc.c, both smsbox_start() and wapbox_start() initialise > box_allow_ip/box_deny_ip. Which means if you have WAP and SMS running, you > leak a few bytes. Caught this using GCC LSAN. Quick

Potential memleak in bearerbox

2018-10-18 Thread Paul Bagyenda
Hi,  In bb_boxc.c, both smsbox_start() and wapbox_start() initialise box_allow_ip/box_deny_ip. Which means if you have WAP and SMS running, you leak a few bytes. Caught this using GCC LSAN. Quick fix was/is to only initialise them if they are NULL. P.