home: hub: mkinitfs

Download patch

ref: 584d06ecb61c591de39753ef4c6d25c13eb794d4
parent: 82002bafa3de220b7bde1cd03e1ac0758a65abc2
author: Natanael Copa <ncopa@alpinelinux.org>
date: Mon Jul 4 07:05:54 CDT 2022

nlplug-findfs: fix underflow

recvmsg may return error which is less than zero so we need a signed
ssize_t.

ref https://gitlab.alpinelinux.org/alpine/aports/-/issues/12325#note_244883

--- a/nlplug-findfs/nlplug-findfs.c
+++ b/nlplug-findfs/nlplug-findfs.c
@@ -1371,7 +1371,7 @@
 		}
 
 		if (fds[0].revents & POLLIN) {
-			size_t len;
+			ssize_t len;
 			struct iovec iov;
 			char cbuf[CMSG_SPACE(sizeof(struct ucred))];
 			char buf[16384];