Project

General

Profile

Actions

Bug #242

closed

batadv_neigh_node_release: Double batadv_hardif_neigh_put

Added by Sven Eckelmann about 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/05/2016
Due date:
% Done:

0%

Estimated time:

Description

batadv_neigh_node_release (and maybe other places) uses a get + a double put of batadv_hardif_neigh_put without a direct reference in batadv_hardif_neigh_node. So it could be that the reference which is free'd is actually for a different object in memory or maybe was never obtained.

It looks like there should be an explicit reference (pointer) in batadv_hardif_neigh_node to be sure that the correct reference is free'd.


Related issues 1 (0 open1 closed)

Related to batman-adv - Bug #237: batadv_neigh_node_new: Missing list checks for *list_add*ClosedMarek Lindner06/26/2015

Actions
Actions

Also available in: Atom PDF