Re: [PATCH] rust_binder: fix setting the extended_error
From: Alice Ryhl
Date: Thu May 28 2026 - 03:54:45 EST
On Wed, May 27, 2026 at 3:41 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> This code currently copies the ExtendedError struct to the stack,
> modifies the copy, and then doesn't modify the original. Thus, fix it.
> Clearly nobody actually uses this feature, because nobody noticed that
> this is broken until they tried changing userspace to make some errors
> fatal.
>
> A test in userspace is being added along with this change.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver")
> Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Hrm, looks like this patch is insufficient.
Alice