]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: fix the out of range assignment to bit fields in parse_server_interfaces
authorHyunchul Lee <hyc.lee@gmail.com>
Mon, 12 Jul 2021 10:34:02 +0000 (19:34 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 14 Jul 2021 15:06:33 +0000 (10:06 -0500)
commit47ebd43fc9413d3b2d68447088297c50a545796c
tree81e29c7d67feb1dd3d195418fa7a464bb9d5a624
parentcda7fd414d1455da2fcf116b2a4306bbec36dd98
cifs: fix the out of range assignment to bit fields in parse_server_interfaces

Because the out of range assignment to bit fields
are compiler-dependant, the fields could have wrong
value.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c