Ticket #412 (closed enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

Increase the randomness of guid_simple

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-0.9.0
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp) (diff)

Ticket #277 had pointed out that guid_simple.c can only generate 216 bit of randomness in the GUID values. Although there is a workaround to use libuuid to replace it, this may not be available on all platforms, hence it needs to be fixed.

Change History

comment:1 Changed 11 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 11 years ago by bennylp

  • Priority changed from normal to major

comment:3 Changed 11 years ago by bennylp

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

In r1815:

  • randomness increased to 2192 bits
  • seed random number generator in pjsua_core.c
  • (unrelated to this ticket) temporarily disable some PJNATH samples from build process due to new changes in STUN/TURN.

comment:4 Changed 11 years ago by bennylp

In r1830:

  • fixed bug: critical section is not released, causing application to freeze
Note: See TracTickets for help on using tickets.