mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
ff55840343
Fortunately, in 0.3.5.1-alpha we improved logging for various failure cases involved with onion service client auth. Unfortunately, for this one, we freed the file right before logging its name. Fortunately, tor_free() sets its pointer to NULL, so we didn't have a use-after-free bug. Unfortunately, passing NULL to %s is not defined. Fortunately, GCC 9.1.1 caught the issue! Unfortunately, nobody has actually tried building Tor with GCC 9.1.1 before. Or if they had, they didn't report the warning. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
5 lines
228 B
Plaintext
5 lines
228 B
Plaintext
o Minor bugfixes ():
|
|
- Avoid a GCC 9.1.1 warning (and possible crash depending on libc
|
|
implemenation) when failing to load a hidden service client authorization
|
|
file. Fixes bug 30475; bugfix on 0.3.5.1-alpha.
|