Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-31 | bplist: Fix possible crash in plist_from_bin() caused by access to already ↵ | Nikias Bassen | 1 | -3/+5 | |
freed memory Given a specifically ordered binary plist the function plist_from_bin() would free BPLIST_DICT or BPLIST_ARRAY raw node data that is still required for parsing of following nodes. This commit addresses this issues by moving the memory free to the end of the parsing process. | |||||
2014-10-09 | bplist: Fix plist_from_bin() changing value nodes to key nodes in dictionaries | Martin Szulecki | 1 | -11/+33 | |
The parsing logic for binary dictionaries wrongly enforced the key type even on nodes that were already parsed as value nodes. This caused the resulting plist_t node tree to have key nodes instead of value nodes within dictionaries for some valid binary plists. This commit should also generally fixes parsing of binary plist files which use an efficient dictionary reference table. | |||||
2014-10-03 | Drop src/common.h and use byte order macros from config.h directly | Nikias Bassen | 1 | -11/+14 | |
2014-10-03 | Avoid exporting non-public symbols | Nikias Bassen | 1 | -2/+2 | |
2014-09-23 | bplist: Prevent crash in plist_from_bin() when parsing unusually structured ↵ | Nikias Bassen | 1 | -1/+1 | |
binary plist | |||||
2014-08-25 | Fixed memory leaks in new_xml_plist() and parse_real_node(). | Aaron Burghardt | 1 | -0/+1 | |
2014-08-06 | bplist: Silence compiler warning about 'always true' comparison due to type ↵ | Nikias Bassen | 1 | -2/+6 | |
mismatch | |||||
2014-05-23 | Handle signed vs. unsigned integer values correctly | Nikias Bassen | 1 | -2/+25 | |
2014-05-18 | bplist: Fix memory leaking caused by unused nodes in plist_from_bin() | Nikias Bassen | 1 | -0/+9 | |
2014-02-06 | bplist: prevent segmentation fault in plist_from_bin() | Nikias Bassen | 1 | -0/+3 | |
2013-12-13 | bplist: make plist_utf8_to_utf16 static since it is only used internally | Nikias Bassen | 1 | -1/+1 | |
2013-10-17 | UTF-16 surrogate pair fix | shane | 1 | -4/+37 | |
Handle UTF-16 surrogate pair conversion to/from UTF-8 | |||||
2013-05-30 | bplist: use __FLOAT_WORD_ORDER__ instead of __VFP_FP__ for floating point ↵ | Nikias Bassen | 1 | -1/+4 | |
endianness detection | |||||
2012-09-16 | implemented handling of UID keyed encoding type | Nikias Bassen | 1 | -2/+58 | |
2012-02-11 | bplist: fix invalid memory access in copy_plist_data | Nikias Bassen | 1 | -4/+4 | |
2012-01-12 | fix compiler warnings | Nikias Bassen | 1 | -8/+0 | |
2011-05-28 | define be16toh, be32toh, be64toh if not available | Nikias Bassen | 1 | -0/+34 | |
2011-05-27 | Make libplist glib free | Nikias Bassen | 1 | -127/+212 | |
2011-03-16 | Plugging memory leak in write_unicode | Christophe Fergeau | 1 | -0/+1 | |
2010-07-29 | Fix unicode binary writing. | Jonathan Beck | 1 | -7/+23 | |
2010-04-18 | Endianness, alignment and type-punning fixes for binary plist support | Julien BLACHE | 1 | -13/+63 | |
- endianness issues: on big endian machines, writing out only part of an integer was broken (get_needed_bytes(x) < sizeof(x)) -> shift integer before memcpy() on big endian machines - alignment issues: unaligned reads when loading binary plist. Leads to slow runtime performance (kernel trapping and fixing things up), SIGBUS (kernel not helping us out) -> introduce get_unaligned() and have the compiler generate the code needed for the unaligned access (note that there remains unaligned accesses that I haven't been able to track down - I've seen 2 of them with test #2) - type-punning issues: breaking strict aliasing rules can lead to unexpected results as the compiler takes full advantage of the aliasing while optimizing -> introduce the plist_uint_ptr union instead of casting pointers Tested on amd64, alpha and hppa. | |||||
2010-03-24 | Fix armel floating point endianess (LP: #541879) | Alexander Sack | 1 | -6/+26 | |
* on armel system floating poing data can have different endianess than rest of types; hence we fix arm endianess for defined(__VFP_FP__) to be big/native; this also applies for data parsing/writing * date parsing didnt flip the endianess back for little endian systems when reading the values causing test failures; we fix this by ensuring float endianess is applied when parsing | |||||
2010-01-21 | Fix some warnings | Jonathan Beck | 1 | -3/+2 | |
2009-10-28 | Format sources to ANSI style using AStyle (astyle --style=ansi). | Jonathan Beck | 1 | -704/+741 | |
2009-10-28 | Fix build for MSVC9. | Jonathan Beck | 1 | -1/+1 | |
2009-09-06 | Fix boolean length in binary parsing | Jonathan Beck | 1 | -0/+2 | |
2009-07-08 | Add a deep copy function and value setters for nodes. | Jonathan Beck | 1 | -12/+11 | |
2009-04-28 | Merge ascii and unicode handling in PLIST_STRING using UTF-8. Remove unicode ↵ | Jonathan Beck | 1 | -19/+41 | |
related declaration in API (breaks API&ABI) | |||||
2009-04-27 | Fix compiler pointer assignment warnings | Martin Szulecki | 1 | -3/+3 | |
2009-02-15 | Do not write 3 byte integer nodes. Use standard 4bytes integer instead. | Jonathan Beck | 1 | -1/+5 | |
2009-02-15 | Add more regression test and fix Integer and Real type handling. | Jonathan Beck | 1 | -64/+16 | |
2009-02-14 | Fix more memory leaks. | Jonathan Beck | 1 | -0/+7 | |
2009-02-14 | Fix some memory leaks. | Jonathan Beck | 1 | -0/+1 | |
2009-02-14 | Fix binary dict indexes. | Jonathan Beck | 1 | -2/+2 | |
2009-02-09 | Add support for 3 bytes offsets. | Jonathan Beck | 1 | -2/+12 | |
2009-02-09 | Make it compile on MSVC 2005. | Jonathan Beck | 1 | -44/+83 | |
2009-01-29 | Fix indent. | Jonathan Beck | 1 | -6/+6 | |
2009-01-29 | Add setter and getter for Date and Unicode types. | Jonathan Beck | 1 | -0/+10 | |
2009-01-29 | Clean some old stuff. | Jonathan Beck | 1 | -11/+0 | |
2009-01-29 | Add some static declarations. | Jonathan Beck | 1 | -1/+3 | |
2009-01-29 | Remove duplicate uint64_t accessor. | Jonathan Beck | 1 | -5/+5 | |
2009-01-22 | Add Unicode support. | Jonathan Beck | 1 | -13/+25 | |
2009-01-08 | fix offset writing and add experimental padding to mimic Apple files. | Jonathan Beck | 1 | -1/+5 | |
2009-01-08 | fix length of basic types while parsing binary plist. | Jonathan Beck | 1 | -0/+8 | |
2009-01-08 | Add edition and reading fonctions so that handling plist is less confusing. | Jonathan Beck | 1 | -13/+13 | |
Fix indent. | |||||
2009-01-04 | handle date tag. | Jonathan Beck | 1 | -10/+33 | |
2009-01-04 | more warning fixes. | Jonathan Beck | 1 | -27/+39 | |
2009-01-04 | fix wrong binary dict parsing. | Jonathan Beck | 1 | -1/+0 | |
2009-01-04 | fix some warnings and correct binary tag enum (false and true were inverted). | Jonathan Beck | 1 | -37/+36 | |
2009-01-04 | Setup warning flags and fixes missing static attribute for local funtions. | Jonathan Beck | 1 | -21/+21 | |