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.
This commit is contained in:
Daniel Pinto
2019-09-22 22:30:48 +01:00
committed by teor
parent 02840169d8
commit 15490816da
3 changed files with 78 additions and 4 deletions
+4
View File
@@ -0,0 +1,4 @@
o Major bugfixes (torrc):
- Fix configuration files in a %included folder containing a
configuration file with only comments or whitespace being
ignored. Fixes bug 31408; bugfix on 0.4.0.5.