Ticket #1663 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Crash in socket registration in ioqueue

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

The crash occurs in pj_ioqueue_register_sock2() when there is a failure in early stage, i.e: before 'key' is initialized, and before the function returns, it tries to access the uninitialized 'key'.

Change History

comment:1 Changed 5 years ago by nanang

  • Status changed from new to closed
  • Resolution set to fixed

In 4514:

Fix #1663: Fixed pj_ioqueue_register_sock2() to avoid access to uninitialized pointer.

Note: See TracTickets for help on using tickets.