+4
−0
+10
−0
+13
−0
Loading
Adding a check that the authentication cookie is 32 bytes before sending its contents to the control port. This is to prevent a malicious socket from tricking us into reading them arbitrary file content. Tested by hardcoding an alternative file as being the cookie and confirming that this makes arm abort initialization. Caught by rransom. https://trac.torproject.org/projects/tor/ticket/4305