]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: Do not byteswap half initialized variable
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 19 May 2014 08:08:19 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:50:54 +0000 (01:50 +0900)
commit87156a5c36f1bec41f9ff960b5a4cb9e61b3fae1
treef22b5c52c9f3ec1f030b392c20bc62c18178c11b
parent4a384be1ba0e0db433896ab7bac011d682e3162d
staging: rtl8188eu: Do not byteswap half initialized variable

Copying 16 bits into an uninitialized 32 bit stack variable and then
byteswapping it can provide 'interesting' results.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c