Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-11-13 | xplist: Get rid of setlocale() and use custom function to print floating ↵ | 1 | -14/+32 | ||
point values | |||||
2015-01-23 | xplist: Plug memory leak by cleaning up libxml2's parser after use | 1 | -0/+16 | ||
This is actually considered bad practice. However, it appears this memory leak is otherwise not possible to fix due to a design flaw in how libxml2 handles the lifecycle of it's XML parser. We'll let the community test this in production now and decide. In our tests this change had no drawbacks except fixing the last known memory leak in libplist. | |||||
2015-01-23 | Update and correct some copyright header comments | 1 | -1/+3 | ||
2015-01-23 | xplist: Fix limited but possible XXE security vulnerability with XML plists | 1 | -4/+16 | ||
By using a specifically crafted XML file an attacker could use plistutil to issue a GET request to an arbitrary URL or disclose a local file. The crafted XML file would be using a custom DTD with an external entity reference pointing to the file. Practical abuse is limited but let's still fix it nevertheless. Related to CVE-2013-0339 for libxml2 and CWE-827. Reported by Loïc Bénis from calypt.com. Thanks! | |||||
2014-10-03 | Avoid exporting non-public symbols | 1 | -2/+2 | ||
2014-08-25 | Fixed memory leaks in new_xml_plist() and parse_real_node(). | 1 | -3/+0 | ||
2014-05-27 | xplist: Fix keys not being output correctly if converted to XML entities | 1 | -5/+11 | ||
2014-05-23 | Handle signed vs. unsigned integer values correctly | 1 | -3/+28 | ||
2014-05-22 | xplist: Handle DST-affected timezones correctly | 1 | -1/+1 | ||
2014-05-22 | xplist: Fix PLIST_DATE handling to respect the Mac epoch | 1 | -2/+4 | ||
2014-05-21 | xplist: Fix PLIST_DATE parsing in xml_to_node() | 1 | -1/+1 | ||
2014-05-18 | xplist: Silence compiler warnings about shadowing global declarations | 1 | -8/+8 | ||
2014-04-01 | xplist: Fix timezone-bound date/time conversion | 1 | -1/+4 | ||
2013-12-13 | xplist: fix another compiler warning with cast | 1 | -1/+1 | ||
2013-12-13 | xplist: silence compiler warning | 1 | -1/+1 | ||
2013-12-13 | xplist: fix shadowed variable declaration | 1 | -3/+3 | ||
2013-03-07 | xml plists: make sure we don't produce <data/> if it's empty | 1 | -0/+9 | ||
2012-11-08 | Fix crash when converting plists containing comments | 1 | -0/+4 | ||
Thanks to free2000fly for pointing this out. The issue was that XML plists with comments converted to binary plists would result in invalid binary nodes, thus converting back these binary plists resulted in a crash. | |||||
2012-09-16 | xplist: set DST to not available in parse_date() | 1 | -0/+1 | ||
2012-09-16 | implemented handling of UID keyed encoding type | 1 | -0/+55 | ||
2012-01-12 | fix compiler warnings | 1 | -1/+1 | ||
2011-05-29 | Use simple sscanf for parsing dates if strptime is not available | 1 | -2/+15 | ||
2011-05-29 | Use malloc+snprintf instead of asprintf | 1 | -2/+4 | ||
2011-05-27 | Make libplist glib free | 1 | -24/+61 | ||
2010-08-23 | Fixes the xml export. | 1 | -2/+2 | ||
Apple's activation server refuses XML tickets when this patch isn't applied. | |||||
2010-04-06 | plist_to_xml: use POSIX locale to make sure '.' is used for floats | 1 | -0/+14 | ||
In locales like German, a ',' is used as a decimal separator. When the program calling plist_to_xml uses LC_NUMBER with something different than a '.', parsing of the resulting XML document fails. This patch fixes it. | |||||
2010-04-06 | plist_to_xml: copy terminating 0-byte given from xmlDocDumpMemory | 1 | -2/+3 | ||
This makes it possible to process the resulting char* directly as a c-string without further copying. | |||||
2010-03-03 | Copy xml buffer to malloced buffer to prevent free / xmlFree mixing. | 1 | -2/+9 | ||
2010-01-21 | Fix some warnings | 1 | -1/+2 | ||
2010-01-14 | Make sure to convert predefined xml entities in xml output | 1 | -1/+6 | ||
For string nodes, a set of special characters must be converted to predefined xml entities. This patch adds an entitiy test case for this and makes libplist pass it fine by explicitly adding text nodes. | |||||
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | 1 | -272/+292 | ||
2009-07-08 | Add a deep copy function and value setters for nodes. | 1 | -6/+4 | ||
2009-04-28 | Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode ↵ | 1 | -24/+3 | ||
related declaration in API (breaks API&ABI) | |||||
2009-03-27 | Use (void) instead of () in functions prototype. | 1 | -1/+1 | ||
2009-02-15 | Add more regression test and fix Integer and Real type handling. | 1 | -2/+2 | ||
2009-02-14 | Fix Invalid memory read and match g_free with g_malloc. | 1 | -3/+3 | ||
2009-02-14 | Fix some memory leaks. | 1 | -26/+26 | ||
2009-02-14 | Only call g_base64_encode if there is data to encode. | 1 | -3/+5 | ||
2009-02-09 | Make it compile on MSVC 2005. | 1 | -21/+42 | ||
2009-01-29 | Fix indent. | 1 | -6/+5 | ||
2009-01-29 | Clean some old stuff. | 1 | -2/+0 | ||
2009-01-29 | Add some static declarations. | 1 | -3/+5 | ||
2009-01-22 | Add Unicode support. | 1 | -6/+27 | ||
2009-01-19 | add sanity check. | 1 | -0/+3 | ||
2009-01-08 | Add edition and reading fonctions so that handling plist is less confusing. | 1 | -7/+7 | ||
Fix indent. | |||||
2009-01-04 | revert to 60 cols for data base64 encoded buffers | 1 | -1/+1 | ||
2009-01-04 | handle date tag. | 1 | -2/+9 | ||
2009-01-04 | more warning fixes. | 1 | -38/+53 | ||
2009-01-04 | fix some warnings and correct binary tag enum (false and true were inverted). | 1 | -9/+9 | ||
2008-12-13 | Fix node length while parsing XML. | 1 | -0/+6 | ||