summaryrefslogtreecommitdiff
path: root/src/bplist.c
Commit message (Expand)AuthorAgeFilesLines
* Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()Nikias Bassen2023-01-161-12/+12
* Get rid of casting a ptr to a 32 bit valueDave MacLachlan2022-09-051-2/+2
* bplist: Fix strict aliasing violationsMatthew Smith2022-08-241-3/+9
* Add a return value to plist_to_* and plist_from_* functionsNikias Bassen2021-12-221-15/+45
* Add support for PLIST_NULL typeNikias Bassen2021-12-191-0/+12
* Add new plist_mem_free() functionNikias Bassen2021-12-191-5/+0
* Add parentheses to macros for better readabilityRosen Penev2020-11-241-14/+14
* bplist: Fix offset table range check, don't rely on pointer overflowNikias Bassen2020-11-211-1/+1
* Remove whitespace errors from all filesMartin Szulecki2020-06-081-1/+1
* Remove pointless return in void functionsRosen Penev2020-06-031-2/+0
* bplist: Prevent 32bit compiler warningNikias Bassen2020-05-141-1/+3
* bplist: Remove unnecessary allocation and unused variablesNikias Bassen2020-05-111-10/+5
* bplist: Silence compiler warningNikias Bassen2019-12-091-2/+2
* bplist: Add cast to/from uint32_t when reading/storing indices for recursion ...Nikias Bassen2019-12-091-4/+4
* bplist: use ptr_array instead of PLIST_ARRAY to store node indices for recurs...XD2019-12-091-10/+10
* Add plist_to_bin_free() and plist_to_xml_free() functions that free memory al...Nikias Bassen2019-11-071-0/+5
* bplist: Silence compiler warning 'comparison is always true ...' (32 bit)Nikias Bassen2019-01-181-1/+1
* Remove node_iterator and operate on node list directly to improve memory usageNikias Bassen2018-12-101-4/+1
* bplist: Improve performance and memory usage when writing binary plistNikias Bassen2018-12-101-2/+84
* bplist: Remove unnecessary allocations when parsing and writing unicode nodesNikias Bassen2018-11-301-88/+72
* bplist: Remove redundant calls to strlen()Nikias Bassen2018-11-291-7/+4
* bplist: Prevent store to misaligned address when writing real/date nodesNikias Bassen2017-05-311-9/+9
* bplist: Work around misaligned reads reported by AddressSanitizerNikias Bassen2017-05-291-3/+3
* bplist: Fix missing break in switch statement in plist_to_bin()Nikias Bassen2017-04-201-0/+1
* bplist: Suppress compiler warnings with proper castsNikias Bassen2017-04-201-3/+3
* bplist: Fix integer overflow check (offset table size)Nikias Bassen2017-04-191-3/+17
* bplist: Make sure sanity checks work on 32bit platformsNikias Bassen2017-03-261-10/+14
* bplist: Fix data range check for string/data/dict/array nodesNikias Bassen2017-02-101-6/+6
* bplist: Fix integer overflow resulting in OOB heap buffer readNikias Bassen2017-02-101-0/+5
* bplist: Make sure to detect integer overflow when handling unicode node sizeNikias Bassen2017-02-091-0/+4
* bplist: Properly handle some more malloc() failure situationsNikias Bassen2017-02-071-3/+18
* bplist: Make sure to bail out if malloc() fails in parse_unicode_node()Nikias Bassen2017-02-071-0/+5
* bplist: Make sure to bail out if malloc() fails in parse_data_node()Nikias Bassen2017-02-071-0/+5
* bplist: Make sure to bail out if malloc() fails in parse_string_node()Nikias Bassen2017-02-071-0/+5
* bplist: Plug memory leak in case parsing a dictionary key failsNikias Bassen2017-02-061-0/+1
* bplist: Refine some debug/error messages in parse_dict_node()Nikias Bassen2017-02-061-4/+4
* bplist: Suppress compiler warnings about format specifiers in error messagesNikias Bassen2017-02-051-8/+9
* bplist: Add error/debug logging (only if configured with --enable-debug)Nikias Bassen2017-02-051-31/+112
* bplist: Make sure node data is always before the offset tableNikias Bassen2017-02-051-14/+14
* bplist: Make sure the offset table is in the correct rangeNikias Bassen2017-02-051-4/+9
* bplist: Make sure node index is smaller than number of objectsNikias Bassen2017-02-051-1/+1
* bplist: Fix OOB write on heap buffer and improve recursion checkNikias Bassen2017-02-041-8/+14
* bplist: Prevent OOB read when parsing data/string/array/dict size nodesNikias Bassen2017-02-031-0/+2
* bplist: Unify size node parsing for data/string/array/dict nodesNikias Bassen2017-02-031-45/+24
* bplist: Fix possible out-of-bounds read in parse_array_node() with proper bou...Nikias Bassen2017-02-011-4/+12
* bplist: Avoid heap buffer allocation when parsing array/dict/string/data node...Nikias Bassen2017-02-011-20/+25
* bplist: Don't duplicate output buffer in plist_to_bin()Nikias Bassen2017-01-281-4/+4
* bplist: Improve parsing unicode nodesNikias Bassen2017-01-281-23/+10
* bplist: Improve writing of offset tableNikias Bassen2017-01-281-12/+3
* bplist: Improve writing of array and dictionary nodesNikias Bassen2017-01-281-54/+17