OSDN Git Service

staging: rtl8723au: ioctl_cfg80211.c: Properly initialize seq_ctrl
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:37:55 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:45 +0000 (16:27 +0900)
commit1daffaeecb4bf01c4a34fc2330c745ace5af3f60
tree598c431a6c7deb3c9378120038facb8e87016335
parent9a7e35f1eabe4090f7f9943d51afe2a4b6086aae
staging: rtl8723au: ioctl_cfg80211.c: Properly initialize seq_ctrl

Using SetSeqNum() on an uninitialized stack frame leaves us open to
leaving random fragment bits set in seq_ctrl in the frame header.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c