Remove null byte from abstract socket name

This commit is contained in:
Mark Qvist 2025-04-08 02:09:44 +02:00
parent fa31dced22
commit 6dc33126a5

View File

@ -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):