From f4c33f5485c5e8e0019f85179d76dd8d5065be95 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 18 Jul 2022 02:32:11 +0000 Subject: [PATCH] ypbinding should not be intrude to application namespace. spotted by guenther --- lib/libc/yp/yp_bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/yp/yp_bind.c b/lib/libc/yp/yp_bind.c index 411726cd29b..7889e8451ef 100644 --- a/lib/libc/yp/yp_bind.c +++ b/lib/libc/yp/yp_bind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yp_bind.c,v 1.29 2022/07/17 03:08:58 deraadt Exp $ */ +/* $OpenBSD: yp_bind.c,v 1.30 2022/07/18 02:32:11 deraadt Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt * All rights reserved. @@ -43,7 +43,7 @@ #include #include "ypinternal.h" -struct dom_binding *ypbinding; +static struct dom_binding *ypbinding; char _yp_domain[HOST_NAME_MAX+1]; int _yplib_timeout = 10; -- 2.20.1