[tor-commits] [tor/main] Fix NULL pointer deref in logs