From 468924b730e4ee086448b06c3a8d9ea48729a065 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 8 May 2018 16:22:18 -0400 Subject: [PATCH] Fixed static-buf-size issue with _bsdNameGetterCommand. --- nx/source/services/bsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/bsd.c b/nx/source/services/bsd.c index 38b68733..6febbf8e 100644 --- a/nx/source/services/bsd.c +++ b/nx/source/services/bsd.c @@ -195,7 +195,7 @@ static int _bsdNameGetterCommand(u32 cmd_id, int sockfd, struct sockaddr *addr, u64 magic; u64 cmd_id; int sockfd; - } *raw; + } PACKED *raw; raw = ipcPrepareHeader(&c, sizeof(*raw));