NetBSD-Bugs archive

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

PR/56286 CVS commit: src/sys/kern

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

From: "Christos Zoulas" <>
Subject: PR/56286 CVS commit: src/sys/kern
Date: Wed, 30 Jun 2021 07:20:33 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Wed Jun 30 11:20:33 UTC 2021
 Modified Files:
 	src/sys/kern: vfs_vnops.c
 Log Message:
 PR/56286: Martin Husemann: Fix NULL deref on kmod load.
 - No need to set ret_domove and ret_fd in the regular case, they are meaningless
 - KASSERT instead of setting errno and then doing the NULL deref.
 To generate a diff of this commit:
 cvs rdiff -u -r1.216 -r1.217 src/sys/kern/vfs_vnops.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