Skip to content

Null dereference within EsrevenAdapter::GetProcessList #1071

@sentry

Description

@sentry

Sentry Issue: BINARYNINJA-61

EXC_BAD_ACCESS / KERN_INVALID_ADDRESS / 0x0: Fatal Error: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS / 0x0
  File "unique_lock.h", line 40, in unique_lock
  File "unique_lock.h", line 39, in unique_lock
  File "rspconnector.cpp", line 313, in BinaryNinjaDebugger::RspConnector::TransmitAndReceive
  File "esrevenadapter.cpp", line 2498, in BinaryNinjaDebugger::EsrevenAdapter::GetProcessList
  File "ffi.cpp", line 186, in BNDebuggerGetProcessList
...
(54 additional frame(s) were not displayed)

@bdash says:

EsrevenAdapter::GetProcessList dereferences m_rspConnector unconditionally. Other methods in the same class null check it before using it.

Metadata

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