Petr Štetiar
|
a3e650911f
file: uci_parse_package: fix heap use after free
|
3 years ago |
Alin Nastac
|
ec8d323394
file: preserve original file mode after commit
|
4 years ago |
Luka Koznjak
|
e8d83732f9
file: fix segfault in uci_parse_option
|
4 years ago |
Luka Koznjak
|
aa5e77a13d
file: fix segfault in uci_parse_config
|
4 years ago |
Petr Štetiar
|
af59f86a0d
iron out all extra compiler warnings
|
4 years ago |
Hauke Mehrtens
|
fc417e8080
build: Add -Wclobbered to detect problems with longjmp
|
4 years ago |
Maxim Gorbachyov
|
415f9e4843
uci/file: replace mktemp() with mkstemp()
|
4 years ago |
Hans Dedecker
|
021fd65643
file: remove unnecessary uci_fixup_section calls
|
6 years ago |
Yousong Zhou
|
c4df32b386
file: remove redundant NULL check on return value of uci_realloc()
|
7 years ago |
Michal 'vorner' Vaner
|
49ec6efbda
Fix skipping directories in uci_list_config_files
|
7 years ago |
Felix Fietkau
|
c203c2f900
Revert "mandatory anonymous section identifier"
|
7 years ago |
Antonio Paunovic
|
df72af4740
mandatory anonymous section identifier
|
7 years ago |
Jo-Philipp Wich
|
ec96e1f93d
file: write through symlinks on uci commit
|
8 years ago |
Jo-Philipp Wich
|
593e6c90b7
file: raise parse error on conflicting section types in strict mode
|
8 years ago |
Felix Fietkau
|
950437eecd
file: defer checking the tmpfile until it is actually needed.
|
8 years ago |
Felix Fietkau
|
2cd94fd505
file: remove unnecessary sync() call
|
8 years ago |
Yousong Zhou
|
4b52bdbdbe
file.c: lift the 4096 bytes line length limit.
|
9 years ago |
Yousong Zhou
|
556215152a
file: reset parsing position on starting over a newline.
|
9 years ago |
Felix Fietkau
|
e66c20610e
allow "-" in package names
|
9 years ago |
Yousong Zhou
|
8aaed0dcd6
delta: preprocess delta line with uci_parse_argument().
|
9 years ago |
Yousong Zhou
|
69d1b47b26
file: fix error string about "unterminated XXX".
|
9 years ago |
Yousong Zhou
|
def58eba24
file: fix EOF check.
|
9 years ago |
Yousong Zhou
|
61657246a9
file: fix use-after-free bug.
|
9 years ago |
Yousong Zhou
|
9167f11f00
Fix a few style issues.
|
9 years ago |
Felix Fietkau
|
b342283d2d
fix a few formatting issues
|
9 years ago |
Yousong Zhou
|
f8f9decc54
Use offset into parser buffer to avoid potential heap overflow.
|
9 years ago |
Jo-Philipp Wich
|
e339407372
Preserve original permissions when rewriting config files on commit
|
10 years ago |
Alexander Couzens
|
31d4b691d9
fix `uci import` with not yet existing packages
|
10 years ago |
Felix Fietkau
|
c1f1ec3514
file: add missing return code check for mktemp()
|
10 years ago |
Felix Fietkau
|
376fdc74c7
file: fix memleak on mktemp() errors
|
10 years ago |