]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix a segfault during startup
authorPeter Palfrader <peter@palfrader.org>
Sat, 6 Feb 2016 21:17:02 +0000 (22:17 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 6 Feb 2016 21:17:02 +0000 (22:17 +0100)
commit42e131e9acca7c51fb220935deda5dc681004e3f
tree2cace5c81e896226d62d323b341884bfed20a0f5
parent2d879bd39febfcce9ce39f13c897951fee7d8784
Fix a segfault during startup

If unix socket was configured as listener (such as a ControlSocket or a
SocksPort unix socket), and tor was started as root but not configured
to switch to another user, tor would segfault while trying to string
compare a NULL value.  Fixes bug 18261; bugfix on 0.2.8.1-alpha. Patch
by weasel.
changes/bug18261 [new file with mode: 0644]
src/or/connection.c