diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-01-15 13:51:29 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-01-15 13:51:29 +0000 |
| commit | 251662e5abdd85f5a83766b400e23c2ac5597fb9 (patch) | |
| tree | a9c81c17d3d2b440277fc07d4623a2fd8776aa34 /source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | aa1eb623389008c95b897976f4d28a7fe0acd93c (diff) | |
linuxkpi: Clean up linux_shmem_file_setup() a bit
- Free the pointer that was returned by the allocator, instead of the
address of the first member. These will be equal in practice, but
it's sketchy and won't work on CHERI with subobject bounds checking.
- Use an anonymous struct, there's no need to name it.
Reviewed by: bz, brooks, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54673
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
