]> git.ipfire.org Git - thirdparty/linux.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)
commitc9c9c6815f9004ee1ec87401ed0796853bd70f1b
tree81e29c7d67feb1dd3d195418fa7a464bb9d5a624
parent50630b3f1ada0bf412d3f28e73bac310448d9d6f
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