Fix memory leak in libnet_vampire_cb_store_chunk

Andrew Bartlett abartlet at samba.org
Wed Mar 7 00:21:52 UTC 2018


On Tue, 2018-03-06 at 14:02 +0100, Andrej Gessel via samba-technical
wrote:
> Hello list,
> 
> i found some older patch for possible memory leak in 
> libnet_vampire_cb_store_chunk.
> 
> Please review. Thanks

Thanks.  The memory would stay on 's' until that is freed, but you are
correct it could be freed earlier if the correct context was used.

Can you add your signed-off-by and send in your DCO per the
Contributing page in the wiki?

Thanks!

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list