Jan Venekamp
|
5781664d50
remove internal usage of redundant uci_ptr.last
|
1 rok temu |
Jan Venekamp
|
ae61e1cad4
uci: optimize update section in uci_set
|
2 lat temu |
Jan Venekamp
|
16e8a3b133
uci: fix memory leak uci_set on update section
|
2 lat temu |
Jan Venekamp
|
b2f341769d
uci: maintain option position in uci_add_list
|
2 lat temu |
Jan Venekamp
|
74f2797fca
uci: fix atomicity of uci_add_list
|
2 lat temu |
Jan Venekamp
|
47697e6579
uci: fix use-after-free uci_add_list
|
2 lat temu |
Jan Venekamp
|
7e01d66d7b
uci: optimize update option in uci_set
|
2 lat temu |
Jan Venekamp
|
b7ceda9a2f
uci: maintain option position in uci_set
|
2 lat temu |
Jan Venekamp
|
9b6605ec4c
uci: fix use-after-free uci_set on update option
|
2 lat temu |
Petr Štetiar
|
af59f86a0d
iron out all extra compiler warnings
|
5 lat temu |
Hauke Mehrtens
|
fc417e8080
build: Add -Wclobbered to detect problems with longjmp
|
5 lat temu |
Sven Eckelmann
|
f199b961c2
uci: fix options list of section after type change
|
5 lat temu |
Jordan Miner
|
5d2bf09ec5
uci: fix a potential use-after-free in uci_set()
|
6 lat temu |
Jo-Philipp Wich
|
3b3d63e234
list: only record ordering deltas if element position changed
|
6 lat temu |
Hans Dedecker
|
25fd142c8d
list: remove unncessary increment of n_section (FS#1182)
|
7 lat temu |
Hans Dedecker
|
021fd65643
file: remove unnecessary uci_fixup_section calls
|
7 lat temu |
Felix Fietkau
|
c203c2f900
Revert "mandatory anonymous section identifier"
|
8 lat temu |
Antonio Paunovic
|
df72af4740
mandatory anonymous section identifier
|
8 lat temu |
Yousong Zhou
|
790d30606d
Add a few notes on the return value of uci_lookup_ptr().
|
10 lat temu |
Yousong Zhou
|
ecf0ed555e
Fix memory leaks found by using valgrind on test cases.
|
10 lat temu |
Luka Perkov
|
f506323c30
style: fix whitespace errors
|
11 lat temu |
Luka Perkov
|
87be3798a9
style: free(NULL) is perfectly valid so we can drop some checks
|
11 lat temu |
Felix Fietkau
|
2fcc6d756f
uci_delete: check ptr->o and its type before checking ptr->value
|
11 lat temu |
Felix Fietkau
|
c9c9d5cb08
uci: fix excessive reorder delta entry duplication
|
11 lat temu |
Krzysztof Kuźnik
|
b42ee8f218
uci: Fix uci_delete() when ptr->value is empty string
|
11 lat temu |
Felix Fietkau
|
e4516d01a7
remove plugin support, it has been unused for a long time and should not be used for any new code
|
12 lat temu |
Luka Perkov
|
e81961bde8
extend delete command so it can delete list elemets using index
|
12 lat temu |
Luka Perkov
|
ec8cbbbe0f
add new command del_list
|
12 lat temu |
Felix Fietkau
|
1d6095d5ac
add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev)
|
13 lat temu |
Felix Fietkau
|
4a7d8053ae
fix lgpl license headers
|
13 lat temu |