summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-10-12 11:28:33 -0700
committerSuren Baghdasaryan <surenb@google.com>2018-10-12 11:28:33 -0700
commit010632748657423d17f9fd4c2908e5bb92aa0dbb (patch)
treec6b6a9024126b6f501fbc7612314ce57de8928e8 /libpackagelistparser/packagelistparser_test.cpp
parentc53a0e9158bbfb2a4ffa1a15f15bb7450d3fb8d9 (diff)
lmkd: Fix an invalid access to a pointer after it's freed
pid_remove() frees a structure representing registered process and the pointer can't be used anymore. This change fixes an instance when pointer was used after it was freed. pid_remove() is moved to the end of the function and comments are added to prevent similar situation in the future. Bug: 117625315 Change-Id: I6a922952a31232497b3f9caf87d5a21bd402db94 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions