Commit Graph

  • 3abf4ffb31 xplist: Make sure to not parse for entities in empty strings Nikias Bassen 2017-01-02 00:19:18 +01:00
  • 02e9c0a590 xplist: Allow empty keys in dictionaries Nikias Bassen 2017-01-02 00:18:24 +01:00
  • 7946f2f055 xplist: Allow whitespace after name in closing tag Nikias Bassen 2017-01-02 00:17:23 +01:00
  • c2ea55aa6c xplist: Fix numerical character entity conversion Nikias Bassen 2017-01-01 21:23:15 +01:00
  • be2b1690a3 Remove unused AC_SUBST for WINDRES Nikias Bassen 2016-12-27 15:37:29 +01:00
  • f0b5f30d08 Remove check for pthread on macOS to suppress clang compiler warning Nikias Bassen 2016-12-27 15:33:20 +01:00
  • 19b79a93f5 xplist: Fix UaF in code checking for closing tag Nikias Bassen 2016-12-21 22:56:13 +01:00
  • d98ef4146e xplist: Make sure to correctly parse for closing tags of structured nodes Nikias Bassen 2016-12-21 03:46:02 +01:00
  • 793228208a xplist: Make sure to stop parsing on entity errors Nikias Bassen 2016-12-21 02:36:34 +01:00
  • d18c8cb6bd xplist: Remove usage of strlen() wherever possible Nikias Bassen 2016-12-14 03:59:15 +01:00
  • b2b56801b1 xplist: Improve text content parsing, reducing memory usage and unneeded copying Nikias Bassen 2016-12-14 03:15:42 +01:00
  • d53d0412e0 Properly check for the availability of strptime() and make sure to use it Nikias Bassen 2016-12-14 02:49:55 +01:00
  • ae8b7a0f1a base64: Prevent use of strlen() in base64decode when input buffer size is known Nikias Bassen 2016-12-14 02:32:47 +01:00
  • 5e8fb617b8 xplist: Fix parsing of adjacent nodes without whitespace between them Nikias Bassen 2016-11-28 12:09:42 +01:00
  • 950b6ddc3e plist_copy: Duplicate hash tables when copying PLIST_DICT nodes Nikias Bassen 2016-11-27 14:15:17 +01:00
  • 75140cb96a Updated README Nikias Bassen 2016-11-18 03:56:59 +01:00
  • 3e2d8706bf test: Fix test plist having duplicate keys in dictionary Nikias Bassen 2016-11-18 03:39:23 +01:00
  • 4971dc8bd4 bplist: Remove misleading/redundant else from BPLIST_DATE case in parse_bin_node Nikias Bassen 2016-11-18 03:31:50 +01:00
  • 582c59bf7d Improve plist_dict_set_item performance for large dictionaries with hash table Nikias Bassen 2016-11-18 03:22:25 +01:00
  • f1f2bcebc8 xplist: Don't parse XML reserved characters in CDATA blocks Nikias Bassen 2016-11-13 03:22:10 +01:00
  • 659b81e040 bplist: Fix surrogate parsing range to include U+100000 - U+1FFFFF Nikias Bassen 2016-11-13 03:14:02 +01:00
  • 009c5038bc xplist: Support converting numerical character entities Nikias Bassen 2016-11-13 03:13:01 +01:00
  • 3a92084e80 xplist: Don't escape " and ' characters in node_to_xml Nikias Bassen 2016-11-13 01:22:19 +01:00
  • eb7078be70 xplist: Properly parse CDATA blocks in get_text_content() Nikias Bassen 2016-11-13 01:15:34 +01:00
  • 52f3a565de libcnary: Fix possible NULL pointer dereference in node_iterator_create() Nikias Bassen 2016-11-10 02:51:54 +01:00
  • ad1a95e962 Add new PLIST_IS_* helper macros for the different plist node types Nikias Bassen 2016-11-10 02:14:59 +01:00
  • 35f13502dd Remove libxml2 private requirement from pkg-config control file Nikias Bassen 2016-11-10 01:56:20 +01:00
  • 9eb1c7640d Remove libxml2 requirement from README Nikias Bassen 2016-11-10 01:55:26 +01:00
  • 23fe533a0f bplist: Make sure to error out if allocation of used_indexes buffer in plist_from_bin() fails Filippo Bigarella 2016-11-10 01:34:02 +01:00
  • a4ca24c4fe bplist: Prevent out-of-bounds read in plist_from_bin() when parsing offset_table Filippo Bigarella 2016-11-10 01:31:23 +01:00
  • 1ae55728f4 bplist: Make sure the index in parse_bin_node_at_index() is actually within the offset table Filippo Bigarella 2016-11-10 01:24:29 +01:00
  • b86a392b81 bplist: Fix possible out-of-bounds reads in parse_bin_node() with proper bounds checking Filippo Bigarella 2016-11-10 01:12:42 +01:00
  • a4563ffeaa bplist: Fix possible out-of-bounds read in parse_dict_node() with proper bounds checking Filippo Bigarella 2016-11-10 00:54:05 +01:00
  • 17b8e01bdf xplist: Prevent UaF when parsing structured nodes fails Filippo Bigarella 2016-10-31 02:52:01 +01:00
  • 0be2a22a65 xplist: Prevent heap buffer overflow when parsing empty tags Filippo Bigarella 2016-10-31 02:51:12 +01:00
  • 6b9ab336fe xplist: Prevent NULL pointer dereference when parsing <real> nodes Filippo Bigarella 2016-10-31 02:44:02 +01:00
  • 62bac060ed base64: Prevent buffer overflow by not decoding blocks with less than 4 chars Filippo Bigarella 2016-10-31 02:43:15 +01:00
  • eec2e855b4 Add pthread detection to configure.ac to get cflags and libs right Nikias Bassen 2016-10-24 19:27:13 +02:00
  • 392135c7db Remove libxml2 dependency in favor of custom XML parsing Nikias Bassen 2016-10-22 04:39:47 +02:00
  • a3263ad344 test: Add additional test case to check extended date range Nikias Bassen 2016-09-19 03:19:45 +02:00
  • 8d34de3078 Use time64 implementation by Michael G Schwern to extend allowed date/time range Nikias Bassen 2016-09-19 03:10:04 +02:00
  • 912cb45928 Change internal storage of PLIST_DATE values from struct timeval to double Nikias Bassen 2016-09-19 01:49:05 +02:00
  • a348ba9aa8 Make sure plist_cleanup() symbol is actually public Martin Szulecki 2016-09-08 23:51:46 +02:00
  • 16f45a04f8 xplist: Plug memory leak when converting PLIST_UID nodes to XML Nikias Bassen 2016-06-29 13:17:00 +02:00
  • 02bd8acd41 test: Add another test case for signed/unsigned (multiple) integers Nikias Bassen 2016-06-29 05:49:53 +02:00
  • acd226d1f7 plist_data_compare: Make sure to compare the node sizes for integer nodes Nikias Bassen 2016-06-29 03:48:14 +02:00
  • 11d639f92f Implement plist_from_memory() Christophe Fergeau 2016-05-12 02:55:01 +02:00
  • 449e27bf75 Add plist_is_binary() Christophe Fergeau 2016-05-12 02:52:50 +02:00
  • 19735fbd32 Allow to run autogen.sh outside $top_srcdir Christophe Fergeau 2015-04-05 12:20:11 +02:00
  • 2af7318239 bplist: Speed up plist_to_bin conversion for large plists Nikias Bassen 2016-05-12 02:32:55 +02:00
  • 6ab7e301f1 Move libxml cleanup code to a plist_cleanup method Frederik Carlier 2016-03-26 15:30:28 +01:00
  • 275cfcd5ac cython: Fix module build with libplist already installed Elan Ruusamäe 2016-01-20 23:21:01 +02:00
  • 060eda6b18 Node.cpp: let plist_t operations free _node when in a container. Aaron Burghardt 2015-12-07 16:16:40 +01:00
  • 9834d85ca4 xplist: Get rid of setlocale() and use custom function to print floating point values Nikias Bassen 2015-11-13 03:19:00 +01:00
  • 9ca25d293f test: Add missing .test files Nikias Bassen 2015-02-05 22:25:09 +01:00
  • 43ae9d35ba test: Add more test cases covering binary plist issues Nikias Bassen 2015-02-05 14:50:50 +01:00
  • 40cf910a62 bplist: Refactor binary plist parsing in a recursive way Nikias Bassen 2015-02-05 14:42:00 +01:00
  • 6a781e6f69 bplist: Plug memory leaks caused by unused (and unfreed) buffer Nikias Bassen 2015-01-31 20:21:07 +01:00
  • 9da6e82da3 bplist: Fix possible crash in plist_from_bin() caused by access to already freed memory Nikias Bassen 2015-01-31 20:19:40 +01:00
  • 3c4bf492e5 m4: Acutally report include path check before doing the check Martin Szulecki 2015-01-29 22:25:16 +01:00
  • dfac6253be m4: Use python-config if available to fix Python 3 support on newer distros Martin Szulecki 2015-01-29 22:03:49 +01:00
  • 2731ec0c47 plistutil: Plug some memory leaks Nikias Bassen 2015-01-29 00:29:31 +01:00
  • 6693241784 plistutil: Use static buffer for stat() Nikias Bassen 2015-01-29 00:26:59 +01:00
  • 801a72a39b Move pkg-config file into src directory Martin Szulecki 2015-01-29 00:05:40 +01:00
  • 6f8cfb23d0 Improve maintainability and Requires of pkg-config files slightly Martin Szulecki 2015-01-29 00:02:46 +01:00
  • 163721f1ee Require autoconf 2.64+ to use package bugreport and project URL in AC_INIT Martin Szulecki 2015-01-28 23:16:44 +01:00
  • 3bb06a7a3a Update README with new git URL, IRC and twitter profile Martin Szulecki 2015-01-28 23:16:12 +01:00
  • a11e8b1b9a xplist: Plug memory leak by cleaning up libxml2's parser after use Martin Szulecki 2015-01-23 15:05:38 +01:00
  • 8ed89366e4 plistutil: Improve error message for a human if input file reading failed Martin Szulecki 2015-01-23 15:01:17 +01:00
  • 7f28d8f757 plistutil: Cleanup code style a bit and remove obsolete extra header Martin Szulecki 2015-01-23 15:00:25 +01:00
  • f4caa6a751 Update and correct some copyright header comments Martin Szulecki 2015-01-23 14:58:16 +01:00
  • c086cb139a xplist: Fix limited but possible XXE security vulnerability with XML plists Martin Szulecki 2015-01-23 14:56:59 +01:00
  • 82a6acc447 Add generation of documentation using "make docs" Martin Szulecki 2015-01-23 14:42:18 +01:00
  • 6873c7ea5a Pass flag '-avoid-version' to libtool for libplist++ in addition to libplist for WIN32. Aaron Burghardt 2015-01-09 08:41:36 -05:00
  • cc907c0f16 Workaround autoconf bug and ensure a C++ compiler is mandatory Martin Szulecki 2014-10-22 02:14:52 +02:00
  • a2c5ec6350 Post-release version bump to 1.13 Martin Szulecki 2014-10-14 03:05:28 +02:00
  • 27ed36c032 Add "check-news" automake option to ensure correct NEWS file on releases 1.12 Martin Szulecki 2014-10-14 02:59:39 +02:00
  • 69e256b8f1 cython: Enforce default symbol visibility to make bindings loadable Martin Szulecki 2014-10-14 02:42:45 +02:00
  • 9f0ded2761 cython: Use output variables instead of relative paths in Makefile Martin Szulecki 2014-10-14 02:42:15 +02:00
  • 77e41d21b8 Update NEWS with latest changes Martin Szulecki 2014-10-14 02:22:20 +02:00
  • 656951ba75 Bump so name correctly as some ABI symbols were removed Martin Szulecki 2014-10-14 02:04:47 +02:00
  • b3ab0a4276 bplist: Fix plist_from_bin() changing value nodes to key nodes in dictionaries Martin Szulecki 2014-10-09 22:26:18 +02:00
  • ae73b608ab Bump so revision due to ABI changes Nikias Bassen 2014-10-03 16:07:40 +02:00
  • adf9ec81ff Drop src/common.h and use byte order macros from config.h directly Nikias Bassen 2014-10-03 15:49:36 +02:00
  • 62813daf2c Avoid exporting non-public symbols Nikias Bassen 2014-10-03 15:39:47 +02:00
  • eab599c151 plist.h: Move deprecation marker before function declaration to make non-gcc/clang compilers happy Nikias Bassen 2014-09-26 22:35:38 +02:00
  • 7377026506 C++: Add missing cstddef include to Node.h Nikias Bassen 2014-09-26 01:22:47 +02:00
  • 063c629bae bplist: Prevent crash in plist_from_bin() when parsing unusually structured binary plist Nikias Bassen 2014-09-23 17:50:43 +02:00
  • 5ddbe5fa5e C++: Make sure String::GetValue() and Key::GetValue() don't crash with NULL strings Nikias Bassen 2014-09-20 01:03:33 +02:00
  • b6c43e901c Added const to Array.GetSize(), and to 3 Node methods. Aaron Burghardt 2014-08-16 17:48:45 -04:00
  • ccd6f05fe1 Change Clone() to be const, which required constructors with const references and a const GetValue(). Aaron Burghardt 2014-08-15 21:59:01 -04:00
  • bc147d80b5 Fixed memory leaks in new_xml_plist() and parse_real_node(). Aaron Burghardt 2014-08-24 21:11:36 -04:00
  • 83650b30ad Properly rename header guards according to C++ standard Nikias Bassen 2014-08-06 01:42:46 +02:00
  • 1c0b659b92 bplist: Silence compiler warning about 'always true' comparison due to type mismatch Nikias Bassen 2014-08-06 01:32:06 +02:00
  • d05dca3769 cython: Fix compiler warning by actually using the Uid factory Martin Szulecki 2014-07-30 17:04:35 +02:00
  • d34facc09e cython: Replace old Pyrex for-from loop with normal one to fix compiler warning Martin Szulecki 2014-07-30 17:03:34 +02:00
  • e05f126216 cython: Fix Python library import fail due to removed 'plist_set_type' symbol Martin Szulecki 2014-07-30 17:02:25 +02:00
  • 82e90578d2 cython: Do not export plist_new_key() which should not be used directly Martin Szulecki 2014-07-30 17:01:48 +02:00
  • 7e5f4da929 cython: Fix compiler warning about uninitialized struct tm field Martin Szulecki 2014-07-30 17:00:43 +02:00
  • cf739732cf test: Fix make clean in relation with out-of-tree build directory Martin Szulecki 2014-06-13 19:30:09 +02:00