WINGs: WMIsPL* functions return False if proplist is null.
commit6f195b18fc03ae35198100871403908fbe4fb20f
authorDoug Torrance <dtorrance@piedmont.edu>
Sat, 19 Aug 2017 00:37:45 +0000 (18 20:37 -0400)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 19 Aug 2017 10:14:38 +0000 (19 11:14 +0100)
treedf699bc6c64ba0ed5599940071c366cf831f358f
parent101ef6f28eb751550bff89ab4b2dc72dde4153cc
WINGs: WMIsPL* functions return False if proplist is null.

Previously, calls to WMIsPLString, WMIsPLData, WMIsPLArray, and
WMIsPLDictionary would result in a segfault if the argument was null.
This could happen, e.g., if we are checking which type of proplist
was just parsed from a file, but the parsing failed.

These functions now return False in this case.
WINGs/proplist.c