diff options
| author | Alexander Leidinger <netchild@FreeBSD.org> | 2026-09-23 12:30:42 +0000 |
|---|---|---|
| committer | Alexander Leidinger <netchild@FreeBSD.org> | 2026-09-23 12:47:42 +0000 |
| commit | 3897678132e71df70dbb18bf8e2f19124beee5d7 (patch) | |
| tree | 2d885fdd1c8cbbecb1e74d00f890f740c7ffa067 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp | |
| parent | 7399be2030f5e8619bf8d7b379d0b42d21ca8052 (diff) | |
vfs_register: prevent kernel crash
vfs_register hashes the filesystem name and uses it for sysctl oids.
A filesystem name which hashes to 0 crashes in sysctl_register_oid().
Map 0 to 1 to prevent the kernel crash.
This can be tested with "udf2" as the filesystem name.
MFC after: 1 month
MFC to: stable/15 stable/14
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D59839
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
