Skip to content

The memory is used after released ?? #1211

Open
@QiAnXinCodeSafe

Description

Hi all,
This is Qianxin CodeSafe Team, we found a suspicious issue, at

return e != nullptr;

Element "e" is used at
Unref(e);

however,function “Unref” is defined at
void LRUCache::Unref(LRUHandle* e) {

where has freed e's memory

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions