intel / openlldp

Other
54 stars 42 forks source link

lldpad: dcbx: prevent null dereference in dcbx_free_data #97

Closed tabraham closed 1 year ago

tabraham commented 1 year ago

Clearing the TLV with memset clears the list data corrupting the list resulting in a null dereference in dcbx_free_data when encountering such an object.

Fixes #96

apconole commented 1 year ago

Thanks Thomas, merged.