]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mei: make a local copy of client uuid in connect
authorAlexander Usyskin <alexander.usyskin@intel.com>
Thu, 18 Sep 2025 13:04:32 +0000 (16:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Sep 2025 16:29:33 +0000 (18:29 +0200)
commitbb29fc32ae56393269d8fe775159fd59e45682d1
treeebdd3ae84747cafd59b0842269e02b5c55223229
parent2cedb296988c384e1555d74fb55e3b7b9fb268ae
mei: make a local copy of client uuid in connect

Connect ioctl has the same memory for in and out parameters.
Copy in parameter (client uuid) to the local stack to avoid it be
overwritten by out parameters fill.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250918130435.3327400-3-alexander.usyskin@intel.com
drivers/misc/mei/main.c