Commit History

Author SHA1 Message Date
  Hauke Mehrtens 52bbc99f69 Replace malloc() + memset() with calloc() 3 years ago
  Hauke Mehrtens 3fbd6c9234 ucimap: Check return of malloc() 3 years ago
  Petr Štetiar a2cab3b088 ucimap: fix possible use of memory after it is freed 4 years ago
  Petr Štetiar af59f86a0d iron out all extra compiler warnings 4 years ago
  Luka Perkov f506323c30 style: fix whitespace errors 10 years ago
  Luka Perkov 87be3798a9 style: free(NULL) is perfectly valid so we can drop some checks 10 years ago
  Felix Fietkau d068b9f9d7 ucimap: initialize an uninitialized pointer (patch by Stanislav Fomichev) 12 years ago
  Felix Fietkau 5077cdcee2 ucimap: fix a memory leak (patch by Stanislav Fomichev) 12 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) 12 years ago
  Felix Fietkau ef95525edc check result of memory allocations (patch by Stanislav Fomichev) 12 years ago
  Felix Fietkau 2b86a11e49 ucimap: fix use-after-free on cleanup (patch by Stanislav Fomichev) 12 years ago
  Felix Fietkau 4a7d8053ae fix lgpl license headers 12 years ago
  Felix Fietkau 0a84aa8d50 remove unused but set variable to fix a compiler warning 12 years ago
  Lars-Peter Clausen 25f9dbfe7b ucimap: ucimap_parse: consider smap_offset when allocating the section data 13 years ago
  Felix Fietkau 8bc580cbda simplify code (thx, henning) 14 years ago
  Felix Fietkau 97e71a1c1b ucimap: simplify the parse/format callbacks. the data argument now always points to the field in the data structure 14 years ago
  Felix Fietkau c434442c9e ucimap: fix list size initialization, validate list size on fixups as well 14 years ago
  Felix Fietkau 7791a9603c ucimap: fix list initialization 14 years ago
  Felix Fietkau c81b25ffd3 replace the use of list.h in the ucimap core, relicense ucimap to LGPL v2.1, update copyright headers 14 years ago
  Felix Fietkau ba0d03d0cc remove ucimap type->name conversion unless DEBUG is enabled 14 years ago
  Felix Fietkau 4f27765f0d ucimap: add support for saving lists to uci 14 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 14 years ago
  Felix Fietkau afa5662885 add sanity checks for optmap section type vs sectionmap type 14 years ago
  Felix Fietkau 6c05c721c7 ucimap: add custom free() callbacks for options, only used on custom datatypes 14 years ago
  Felix Fietkau 2e1e88ddee add ucimap_free_section to the api 14 years ago
  Felix Fietkau 41d24d850b add type safety checks for option maps 14 years ago
  Felix Fietkau 7c45dfd1c6 only call section ->add callbacks after all fixups have been processed, also call ->add for sections manually parsed later 14 years ago
  Felix Fietkau 151917e819 preserve section list order 14 years ago
  Felix Fietkau cd68df2c25 rename ucimap_data::section to ptr 14 years ago
  Felix Fietkau 2a8229347c expose the ucimap_parse_section function in the api, do not defer fixups if immediate lookup works 14 years ago