diff options
| author | 2025-11-11 14:23:34 +0000 | |
|---|---|---|
| committer | 2025-11-26 13:26:59 +0100 | |
| commit | 2c8ad5cfc22dba7d0b3b3ddfec0a75d8ea4169c3 (patch) | |
| tree | 5750031e68f06a81c3148a59b89f1b26daad5528 /tools/lib/python | |
| parent | rust_binder: avoid mem::take on delivered_deaths (diff) | |
rust: list: add warning to List::remove docs about mem::take
The previous patches in this series illustrate why the List::remove
method is really dangerous. I think the real takeaway here is to replace
the linked lists with a different data structure without this unsafe
footgun, but for now we fix the bugs and add a warning to the docs.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://patch.msgid.link/20251111-binder-fix-list-remove-v1-3-8ed14a0da63d@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
