commit 158279cc4bb747491259166e29f248ce32e3d6b4 from: rsadowski date: Thu Jan 1 14:32:41 2026 UTC fix missing initialisation It is possible that "request_method" is checked without having been initialised in line 439. OK kirill@ stsp@ commit - 80854f0233cbd6df2ed2ea07a17d910fb988a59d commit + 158279cc4bb747491259166e29f248ce32e3d6b4 blob - b4386966dd588c93cbf607623a4261f9968ba15e blob + e9b9c4449e58a48daf796bc06f1047edc8c157b3 --- relay_http.c +++ relay_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_http.c,v 1.91 2025/12/21 07:26:55 tb Exp $ */ +/* $OpenBSD: relay_http.c,v 1.92 2026/01/01 14:32:41 rsadowski Exp $ */ /* * Copyright (c) 2006 - 2016 Reyk Floeter @@ -195,7 +195,7 @@ relay_read_http(struct bufferevent *bev, void *arg) int ws_response = 0; struct http_method_node *hmn; struct http_session *hs; - enum httpmethod request_method; + enum httpmethod request_method = HTTP_METHOD_NONE; getmonotime(&con->se_tv_last); cre->timedout = 0;