From 9aa3990e50efffc8a2f76e6c55ad769e5f711602 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 3 Apr 2025 16:16:33 -0600 Subject: lib9p: srv: Whoops, add a missing `return` --- lib9p/srv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib9p/srv.c') diff --git a/lib9p/srv.c b/lib9p/srv.c index bfeb06f..6e6a91b 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -903,6 +903,7 @@ static void handle_Topen(struct _lib9p_srv_req *ctx, if (!srv_util_check_perm(ctx, &stat, perm_bits)) { lib9p_error(&ctx->ctx.basectx, LINUX_EACCES, "permission denied"); + return; } /* Actually make the call. */ -- cgit v1.2.3-2-g168b