cifs: fixup array out of bound errors