diff options
author | Jonathan Beck | 2008-12-13 19:59:00 +0100 |
---|---|---|
committer | Jonathan Beck | 2008-12-13 19:59:00 +0100 |
commit | 135e43c1767c6d1cc4cad057130bf371a548f648 (patch) | |
tree | e656ab13af40905b461ec570c159166f247aec26 /src/plist.c | |
parent | 2a514976045c878766dc6975d03b1b3eb1a86eed (diff) | |
download | libplist-135e43c1767c6d1cc4cad057130bf371a548f648.tar.gz libplist-135e43c1767c6d1cc4cad057130bf371a548f648.tar.bz2 |
Add sanity check on indexes when building plist tree.
Diffstat (limited to 'src/plist.c')
-rw-r--r-- | src/plist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plist.c b/src/plist.c index 1fafd94..a3d3cb2 100644 --- a/src/plist.c +++ b/src/plist.c @@ -157,7 +157,7 @@ char compare_node_value(plist_type type, plist_data_t data, void *value, uint64_ res = !wcscmp(data->unicodeval, ((wchar_t *) value)); break; case PLIST_DATA: - res = memcmp(data->buff,(char*) value, length ); + res = memcmp(data->buff, (char *) value, length); break; case PLIST_ARRAY: case PLIST_DICT: |