From 6dc33126a5e20fec754501cb3c7ee0afecad7f19 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 8 Apr 2025 02:09:44 +0200 Subject: [PATCH] Remove null byte from abstract socket name --- RNS/Interfaces/LocalInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/LocalInterface.py b/RNS/Interfaces/LocalInterface.py index ead4bd0..d732269 100644 --- a/RNS/Interfaces/LocalInterface.py +++ b/RNS/Interfaces/LocalInterface.py @@ -446,7 +446,7 @@ class LocalServerInterface(Interface): if from_spawned: self.oa_freq_deque.append(time.time()) def __str__(self): - if self.socket_path: return "Shared Instance["+str(self.socket_path)+"]" + if self.socket_path: return "Shared Instance["+str(self.socket_path.replace("\0", ""))+"]" else: return "Shared Instance["+str(self.bind_port)+"]" class LocalInterfaceHandler(socketserver.BaseRequestHandler):