summaryrefslogtreecommitdiff
path: root/file.c
Commit message (Expand)AuthorAgeFilesLines
* file: Check buffer size after strtok()Hauke Mehrtens2020-10-061-3/+16
* file: use size_t for position and pointerHauke Mehrtens2020-10-061-7/+7
* file: use dynamic memory allocation for tempfile nameJo-Philipp Wich2020-10-061-8/+5
* file: uci_file_commit: fix memory leakPetr Štetiar2020-10-031-3/+6
* file: uci_parse_package: fix heap use after freePetr Štetiar2020-10-031-1/+1
* file: preserve original file mode after commitAlin Nastac2020-04-271-1/+2
* file: fix segfault in uci_parse_optionLuka Koznjak2020-01-271-1/+1
* file: fix segfault in uci_parse_configLuka Koznjak2020-01-271-1/+1
* iron out all extra compiler warningsPetr Štetiar2019-11-141-2/+3
* build: Add -Wclobbered to detect problems with longjmpHauke Mehrtens2019-11-081-5/+6
* uci/file: replace mktemp() with mkstemp()Maxim Gorbachyov2019-09-011-8/+11
* file: remove unnecessary uci_fixup_section callsHans Dedecker2017-12-221-2/+0
* file: remove redundant NULL check on return value of uci_realloc()Yousong Zhou2017-04-121-2/+0
* Fix skipping directories in uci_list_config_filesMichal 'vorner' Vaner2016-11-231-5/+9
* Revert "mandatory anonymous section identifier"Felix Fietkau2016-11-231-26/+5
* mandatory anonymous section identifierAntonio Paunovic2016-10-061-5/+26
* file: write through symlinks on uci commitJo-Philipp Wich2016-03-311-3/+7
* file: raise parse error on conflicting section types in strict modeJo-Philipp Wich2016-01-251-1/+6
* file: defer checking the tmpfile until it is actually needed.Felix Fietkau2016-01-111-11/+11
* file: remove unnecessary sync() callFelix Fietkau2015-08-271-1/+0
* file.c: lift the 4096 bytes line length limit.Yousong Zhou2015-05-251-4/+2
* file: reset parsing position on starting over a newline.Yousong Zhou2015-04-091-2/+3
* allow "-" in package namesFelix Fietkau2014-12-181-9/+9
* delta: preprocess delta line with uci_parse_argument().Yousong Zhou2014-12-181-6/+1
* file: fix error string about "unterminated XXX".Yousong Zhou2014-12-181-3/+1
* file: fix EOF check.Yousong Zhou2014-12-181-2/+2
* file: fix use-after-free bug.Yousong Zhou2014-12-181-12/+29
* Fix a few style issues.Yousong Zhou2014-12-181-1/+1
* fix a few formatting issuesFelix Fietkau2014-11-251-7/+7
* Use offset into parser buffer to avoid potential heap overflow.Yousong Zhou2014-11-251-96/+120
* Preserve original permissions when rewriting config files on commitJo-Philipp Wich2014-04-111-3/+3
* fix `uci import` with not yet existing packagesAlexander Couzens2014-04-011-1/+1
* file: add missing return code check for mktemp()Felix Fietkau2013-10-241-1/+3
* file: fix memleak on mktemp() errorsFelix Fietkau2013-10-241-1/+3
* style: free(NULL) is perfectly valid so we can drop some checksLuka Perkov2013-10-151-4/+2
* file: make uci commits atomicLuka Perkov2013-10-151-15/+39
* uci: libuci leaking memory on non-existent config fileKrzysztof Kuznik2013-04-221-2/+4
* ignore trailing carriage returns in file parserJo-Philipp Wich2013-03-051-1/+4
* Do quote section names to keep the same style as option valuesJo-Philipp Wich2012-02-241-1/+1
* Section names, option names, list names can only be identifiers, so they don'...Jo-Philipp Wich2012-02-241-5/+5
* fix segfault on import of anonymous sectionsFelix Fietkau2011-10-211-1/+1
* add a few missing null pointer checks, and fix check vs dereference order in ...Felix Fietkau2011-10-211-1/+1
* check result of memory allocations (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-1/+4
* fix lgpl license headersFelix Fietkau2011-08-311-1/+1
* make uci_file_commit() staticFelix Fietkau2010-12-281-1/+1
* remove the unused "complete" parameter for uci_fill_ptr()Felix Fietkau2010-08-211-5/+3
* uci_history -> uci_deltaFelix Fietkau2010-08-201-9/+9
* split off and compile file.c separatelyFelix Fietkau2010-08-201-4/+280
* Fix memory leak in uci_list_config_filesJustin Bronder2009-12-011-1/+3
* fix a null pointer deref in uci_file_commit when overwriting history dataFelix Fietkau2009-09-041-8/+4