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:           Mon Mar 30 16:33:39 UTC 2009

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

Log Message:
Pull up following revision(s) (requested by haad in ticket #623):
        common/lib/libprop/prop_object.c: revision 1.26
Fix crash where user was able to crash proplib with trying to internalize
bad xml file with non-existing data type e.g. <number>.
Problem is that poi is not NULL even in case that we haven't find any match
in data type name. We need to check if poi->poi_tag is not NULL before
calling poi->poi_intern function which is non existing case NULL and will
cause crash.

To generate a diff of this commit:
cvs rdiff -u -r1.22.4.1 -r1.22.4.2 src/common/lib/libprop/prop_object.c

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