Commit History

Author SHA1 Message Date
  Petr Štetiar a2cab3b088 ucimap: fix possible use of memory after it is freed 10 months ago
  Petr Štetiar af59f86a0d iron out all extra compiler warnings 10 months ago
  Luka Perkov f506323c30 style: fix whitespace errors 7 years ago
  Luka Perkov 87be3798a9 style: free(NULL) is perfectly valid so we can drop some checks 7 years ago
  Felix Fietkau d068b9f9d7 ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev) 9 years ago
  Felix Fietkau 5077cdcee2 ucimap: fix a memory leak (patch by Stanislav Fomichev) 9 years ago
  Felix Fietkau 1d6095d5ac add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev) 9 years ago
  Felix Fietkau ef95525edc check result of memory allocations (patch by Stanislav Fomichev) 9 years ago
  Felix Fietkau 2b86a11e49 ucimap: fix use-after-free on cleanup (patch by Stanislav Fomichev) 9 years ago
  Felix Fietkau 4a7d8053ae fix lgpl license headers 9 years ago
  Felix Fietkau 0a84aa8d50 remove unused but set variable to fix a compiler warning 9 years ago
  Lars-Peter Clausen 25f9dbfe7b ucimap: ucimap_parse: consider smap_offset when allocating the section data 10 years ago
  Felix Fietkau 8bc580cbda simplify code (thx, henning) 10 years ago
  Felix Fietkau 97e71a1c1b ucimap: simplify the parse/format callbacks. the data argument now always points to the field in the data structure 11 years ago
  Felix Fietkau c434442c9e ucimap: fix list size initialization, validate list size on fixups as well 11 years ago
  Felix Fietkau 7791a9603c ucimap: fix list initialization 11 years ago
  Felix Fietkau c81b25ffd3 replace the use of list.h in the ucimap core, relicense ucimap to LGPL v2.1, update copyright headers 11 years ago
  Felix Fietkau ba0d03d0cc remove ucimap type->name conversion unless DEBUG is enabled 11 years ago
  Felix Fietkau 4f27765f0d ucimap: add support for saving lists to uci 11 years ago
  Felix Fietkau 25b34febb4 ucimap: add helper function for resizing lists and freeing items (both using ucimap internal allocation list), add test coverage for config change operations 11 years ago
  Felix Fietkau afa5662885 add sanity checks for optmap section type vs sectionmap type 11 years ago
  Felix Fietkau 6c05c721c7 ucimap: add custom free() callbacks for options, only used on custom datatypes 11 years ago
  Felix Fietkau 2e1e88ddee add ucimap_free_section to the api 11 years ago
  Felix Fietkau 41d24d850b add type safety checks for option maps 11 years ago
  Felix Fietkau 7c45dfd1c6 only call section ->add callbacks after all fixups have been processed, also call ->add for sections manually parsed later 11 years ago
  Felix Fietkau 151917e819 preserve section list order 11 years ago
  Felix Fietkau cd68df2c25 rename ucimap_data::section to ptr 11 years ago
  Felix Fietkau 2a8229347c expose the ucimap_parse_section function in the api, do not defer fixups if immediate lookup works 11 years ago
  Felix Fietkau 477c19a722 ucimap: add new UCIMAP_LIST_AUTO for automatically converting multiple list items whitespace-separated in an option 11 years ago
  Felix Fietkau 65f3dccc35 ucimap: fix boolean interpretation, add range checks for int values (thx, henning) 11 years ago