[Openslp-devel] Possible double free error in SLPDKnownDAAdd()
Brought to you by:
jcalcote
From: Vitezslav C. <vcr...@re...> - 2014-08-05 11:41:29
|
Hello, There's possibility of double free error in SLPDKnownDAAdd() (openslp-2.0.0/slpd/slpd_knownda.c) if ENABLE_SLPv2_SECURITY is defined. Pointer "dh" is freed by SLPDatabaseClose() on lines 847 and 858 (and not set to NULL after that), then freed again on line 945. Attached patch fixes the issue. Please consider applying it upstream. Best regards, Vitezslav Crhonek |