Re: [PATCH v2] ACPI: scan: Fix a Hyper-V Linux VM panic caused by buffer overflow

2021-01-09 Thread Jethro Beekman
On 2021-01-08 08:23, Dexuan Cui wrote: > Linux VM on Hyper-V crashes with the latest mainline: > > [4.069624] detected buffer overflow in strcpy > [4.077733] kernel BUG at lib/string.c:1149! > .. > [4.085819] RIP: 0010:fortify_panic+0xf/0x11 > ... > [4.085819] Call Trace: > [4.

RE: [PATCH v2] ACPI: scan: Fix a Hyper-V Linux VM panic caused by buffer overflow

2021-01-08 Thread Dexuan Cui
> From: Dexuan Cui > Sent: Thursday, January 7, 2021 11:24 PM > ... > Linux VM on Hyper-V crashes with the latest mainline: > ... > > Changes in v2: > strlcpy -> kstrdup_const. Thanks Rafael J. Wysocki! > Change commit log accordingly. Hi Rafael, Len, and all, Can you please take a look