Project

General

Profile

Actions

Bug #5179

open

gprs_ns2: use refcounting for the NSE

Added by lynxis almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06/13/2021
Due date:
% Done:

0%

Spec Reference:

Description

A NSE could be freed by the application on multiple events.
However there are certain cases when multiple events are emitted which will result in a use-after-free when called in the wrong order.

Actions #1

Updated by lynxis almost 3 years ago

Unsure if it needs the usage of use_count.
At least recursions of free_nsvcs(), free_nsvc() and free_nse() must be prevented.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)