Re: [PATCH] x86/microcode/AMD: fix read of uninitialized data

2018-04-10 Thread Colin Ian King
On 10/04/18 15:22, Dan Carpenter wrote: > On Tue, Apr 10, 2018 at 02:41:23PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Currently function __load_ucode_amd can assign an uninitialized cp to *ret >> if get_builtin_microcode returns false. > > What are you looking at? Here is how it lo

Re: [PATCH] x86/microcode/AMD: fix read of uninitialized data

2018-04-10 Thread Dan Carpenter
On Tue, Apr 10, 2018 at 02:41:23PM +0100, Colin King wrote: > From: Colin Ian King > > Currently function __load_ucode_amd can assign an uninitialized cp to *ret > if get_builtin_microcode returns false. What are you looking at? Here is how it looks in linux-next: 270 271 if (