Opened 6 years ago

Closed 6 years ago

#1663 closed defect (fixed)

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 (1)

comment:1 Changed 6 years ago by nanang

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

In 4514:

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

Note: See TracTickets for help on using tickets.