Opened 10 years ago

Closed 8 years ago

#75 closed defect (fixed)

code is racy: must add locking around critical sections

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 1.0
Component: Client Keywords:
Cc:

Description

In most cases the racy code is harmless, but in some cases (preload sessions) a user could end up having access to someone else's session!
Must add the equivalent of Java's synchronized keyword to quite a few places...

Change History (6)

comment:1 Changed 9 years ago by Antoine Martin

Owner: changed from Antoine Martin to Antoine Martin
Status: newaccepted

done some: r1950

comment:2 Changed 9 years ago by Antoine Martin

Milestone: 1.00.9.3

comment:3 Changed 9 years ago by Antoine Martin

Milestone: 0.9.30.9.4

comment:4 Changed 9 years ago by Antoine Martin

Milestone: 0.9.41.0

comment:5 Changed 9 years ago by Antoine Martin

done for sessions to prevent races in tunnel creation: r2482

Last edited 8 years ago by Antoine Martin (previous) (diff)

comment:6 Changed 8 years ago by Antoine Martin

Resolution: fixed
Status: acceptedclosed

more done in r4293 and r4255

This will do for now.

Note: See TracTickets for help on using tickets.