From 9c27ea3dafe2b05007091b49d9699bfc148b1a51 Mon Sep 17 00:00:00 2001 From: Luiz Souza Date: Sun, 8 Oct 2017 15:05:08 -0500 Subject: Revert "Increase the size of local storage to cope with the new IF_NAMESIZEi value." This reverts commit d8b2e046db23fd736b231db4860cec01250fc580. --- lib/libc/net/linkaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/net/linkaddr.c b/lib/libc/net/linkaddr.c index 9be8e96..9432a53 100644 --- a/lib/libc/net/linkaddr.c +++ b/lib/libc/net/linkaddr.c @@ -122,7 +122,7 @@ static const char hexlist[] = "0123456789abcdef"; char * link_ntoa(const struct sockaddr_dl *sdl) { - static char obuf[128]; + static char obuf[64]; _Static_assert(sizeof(obuf) >= IFNAMSIZ + 20, "obuf is too small"); char *out; const u_char *in, *inlim; -- cgit v1.1