diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-02-05 14:24:51 +0100 |
|---|---|---|
| committer | Tyler Hicks <code@tyhicks.com> | 2026-03-25 22:39:27 -0500 |
| commit | 8b9bf58bc3a6f148d990bb697a3b6dbb11672f86 (patch) | |
| tree | 4b3f31cba6326d6aabac9aae6e10340ea810c18c /tools/lib/python | |
| parent | f7a1c0283f135833db164cc0fac8d422fed2079e (diff) | |
ecryptfs: Use struct_size to improve process_response + send_miscdev
Use struct_size(), which provides additional compile-time checks for
structures with flexible array members (e.g., __must_be_array()), to
determine the allocation size for a new 'struct ecryptfs_message'.
In send_miscdev(), reuse 'msg_size' instead of recalculating it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
