Opened 13 years ago

Closed 13 years ago

#1302 closed defect (fixed)

Bug in soft deadlock detection may cause program to block indefinitely (thanks Attila Magyar for the fix)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.12
Component: pjsua-lib Version: 1.x-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Bug in the acquire_call() function in pjsua_call.c:

the timeout variable is not fully initialized. The msec is set, but sec is not set to any value, so it may contain random value. This will cause program to block for random time when soft deadlock is detected.

Change History (1)

comment:1 Changed 13 years ago by bennylp

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

(In [3576]) Fixed #1302: Bug in soft deadlock detection may cause program to block indefinitely (thanks Attila Magyar for the fix)

Note: See TracTickets for help on using tickets.