NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60281 CVS commit: src/sys/opencrypto
The following reply was made to PR kern/60281; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/60281 CVS commit: src/sys/opencrypto
Date: Tue, 19 May 2026 15:58:12 +0000
Module Name: src
Committed By: riastradh
Date: Tue May 19 15:58:12 UTC 2026
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
crypto(4): Take reference _before_ releasing the lock.
Otherwise nothing ensures the object will still exist by the time we
try to take the reference.
Also guard against too many references, since this is only a 32-bit
reference count.
PR kern/60281: crypto(4): bugs in reference counting and test
To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/opencrypto/cryptodev.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