diff options
author | Michael Clark <michael@metaparadigm.com> | 2009-02-25 01:51:40 +0000 |
---|---|---|
committer | Michael Clark <michael@metaparadigm.com> | 2009-02-25 01:51:40 +0000 |
commit | 22dee7cb59da4a96fe2ee0e33b4f394645698359 (patch) | |
tree | a45c63ad5b14317396b5eb60dea39c442124aeb9 /arraylist.c | |
parent | e8de07880652465a3894124258796846832f0fff (diff) | |
download | json-c-22dee7cb59da4a96fe2ee0e33b4f394645698359.tar.gz |
* Null pointer dereference fix. Fix json_object_get_boolean strlen test
to not return TRUE for zero length string. Remove redundant includes.
Erik Hovland, erik at hovland dot org
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@31 327403b1-1117-474d-bef2-5cb71233fd97
Diffstat (limited to 'arraylist.c')
-rw-r--r-- | arraylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arraylist.c b/arraylist.c index dbd075d..bc167a8 100644 --- a/arraylist.c +++ b/arraylist.c @@ -16,7 +16,7 @@ # include <string.h> #endif /* STDC_HEADERS */ -#if HAVE_STRINGS_H +#if defined HAVE_STRINGS_H && !defined _STRING_H && !defined __USE_BSD # include <strings.h> #endif /* HAVE_STRINGS_H */ |