Potential memleak in bearerbox

Paul Bagyenda <[email protected]> Thu, 18 Oct 2018 12:38:45 +0300
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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.