um: Remove use of asprinf in umid.c
stable inclusion from stable-5.10.4 commit c4b425322134e2ee2950bc1ca54a66511a1526a9 bugzilla: 46903 -------------------------------- commit 97be7cea upstream. asprintf is not compatible with the existing uml memory allocation mechanism. Its use on the "user" side of UML results in a corrupt slab state. Fixes: 0d4e5ac7 ("um: remove uses of variable length arrays") Cc: stable@vger.kernel.org Signed-off-by:Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by:
Richard Weinberger <richard@nod.at> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Chen Jun <chenjun102@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com>
Loading
Please sign in to comment