* 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
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user