NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56533 CVS commit: src/lib/librumpuser

The following reply was made to PR kern/56533; it has been noted by GNATS.

From: "Andreas Gustafsson" <>
Subject: PR/56533 CVS commit: src/lib/librumpuser
Date: Tue, 7 Dec 2021 10:39:33 +0000

 Module Name:	src
 Committed By:	gson
 Date:		Tue Dec  7 10:39:33 UTC 2021
 Modified Files:
 	src/lib/librumpuser: sp_common.c
 Log Message:
 In unix_parse(), always allocate memory for the entire struct sockaddr_un
 and not just the part used by the present pathname, because the entire
 struct will be passed to bind() and an EFAULT can result if not all of
 it is a valid allocation.  Fixes PR kern/56533.
 To generate a diff of this commit:
 cvs rdiff -u -r1.42 -r1.43 src/lib/librumpuser/sp_common.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index