Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#412 closed enhancement (fixed)

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)

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

comment:1 Changed 16 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 16 years ago by bennylp

  • Priority changed from normal to major

comment:3 Changed 16 years ago by bennylp

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

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 16 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.