Source-Changes archive

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

CVS commit: [netbsd-5] src/common/lib/libprop



Module Name:    src
Committed By:   snj
Date:           Sun Nov 30 02:40:01 UTC 2008

Modified Files:
        src/common/lib/libprop [netbsd-5]: prop_dictionary.c prop_number.c
            prop_object.c prop_object_impl.h

Log Message:
Pull up following revision(s) (requested by haad in ticket #150):
        common/lib/libprop/prop_dictionary.c: revision 1.33
        common/lib/libprop/prop_number.c: revision 1.20
        common/lib/libprop/prop_object.c: revision 1.23
        common/lib/libprop/prop_object_impl.h: revision 1.28
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.32.4.1 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r1.19 -r1.19.4.1 src/common/lib/libprop/prop_number.c
cvs rdiff -r1.22 -r1.22.4.1 src/common/lib/libprop/prop_object.c
cvs rdiff -r1.27 -r1.27.4.1 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