From edb71e0dc3f582632c9c4033a8f1e01250edd3d1 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Thu, 9 Nov 2023 20:08:52 +0000 Subject: [PATCH] codeql for dependabot. --- gamutrf/worker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gamutrf/worker.py b/gamutrf/worker.py index 2ba996f8..a6ab9b46 100644 --- a/gamutrf/worker.py +++ b/gamutrf/worker.py @@ -326,6 +326,7 @@ def process_rssi(self, record_args, sock): def proxy_rssi(self, rssi_addr, record_args): with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock: + # codeql[py/bind-socket-all-network-interfaces] sock.bind((rssi_addr, RSSI_UDP_PORT)) # nosec self.process_rssi(record_args, sock) @@ -334,6 +335,7 @@ def serve_rssi(self): logging.info(f"got request {record_args}") if self.arguments.rssi_external: logging.info("proxying external RSSI") + # codeql[py/bind-socket-all-network-interfaces] self.proxy_rssi("0.0.0.0", record_args) # nosec else: center_freq = int(record_args["center_freq"])