diff --git a/CHANGES b/CHANGES index 58bb339156..c413cff0db 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +7.2.0-dev.602 | 2025-04-23 15:55:46 +0200 + + * cluster/cluster.bif: Fix CountVal casted to PortVal (Arne Welzel, Corelight) + + Thanks UBSAN! + 7.2.0-dev.600 | 2025-04-23 15:07:47 +0200 * CI: No more Ubuntu 20.04 [skip ci] (Arne Welzel, Corelight) diff --git a/VERSION b/VERSION index 8d4d31a191..8e2ec1cf11 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.2.0-dev.600 +7.2.0-dev.602 diff --git a/src/cluster/cluster.bif b/src/cluster/cluster.bif index 84e86798c9..fc5a341f9e 100644 --- a/src/cluster/cluster.bif +++ b/src/cluster/cluster.bif @@ -197,7 +197,7 @@ function Cluster::__listen_websocket%(options: WebSocketServerOptions%): bool static_cast(options_rec->GetField("listen_port")->Port()), }; - server_options.max_event_queue_size = options_rec->GetField("max_event_queue_size")->AsCount(); + server_options.max_event_queue_size = options_rec->GetField("max_event_queue_size")->Get(); server_options.tls_options = std::move(tls_options); auto result = zeek::cluster::manager->ListenWebSocket(server_options);