]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix bug when %including folder with comment only files. #31408
authorDaniel Pinto <danielpinto52@gmail.com>
Sun, 22 Sep 2019 21:30:48 +0000 (22:30 +0100)
committerteor <teor@torproject.org>
Mon, 23 Sep 2019 00:39:08 +0000 (10:39 +1000)
commit15490816da0f8b651d67acef9c7f4e5bf9652ce2
tree7c1b4fa536f5bae13996a9c79abe7622763374d0
parent02840169d860384257042bdf6d7601c2bf48b47b
Fix bug when %including folder with comment only files. #31408

When processing a %included folder, a bug caused the pointer to
the last element of the options list to be set to NULL when
processing a file with only comments or whitepace. This could
cause options from other files on the same folder to be
discarded depending on the lines after the affected %include.
changes/bug31408 [new file with mode: 0644]
src/lib/fs/conffile.c
src/test/test_config.c