Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/common/lib/libprop



Module Name:    src
Committed By:   haad
Date:           Sun Nov 30 00:17:07 UTC 2008

Modified Files:
        src/common/lib/libprop: prop_dictionary.c prop_number.c prop_object.c
            prop_object_impl.h

Log Message:
Fix two race conditions in proplib library. In prop_dictionary and prop_number
there was small window in which was entry left in rb tree with reference
count 0 which lead to rb tree coruption when another thread picked this up
before it was released.
Add 2 new members to the prop_object_t which are used for locking/unlocking
rb tree guard mutex.

Ok by joerg@, core@, thorpej@


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r1.19 -r1.20 src/common/lib/libprop/prop_number.c
cvs rdiff -r1.22 -r1.23 src/common/lib/libprop/prop_object.c
cvs rdiff -r1.27 -r1.28 src/common/lib/libprop/prop_object_impl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index