Re: [PATCH 3.12-rc4] cifs: ntstatus_to_dos_map[] is not terminated

2013-10-14 Thread Jeff Layton
On Sun, 13 Oct 2013 13:29:03 -0600 Tim Gardner wrote: > Functions that walk the ntstatus_to_dos_map[] array could > run off the end. For example, ntstatus_to_dos() loops > while ntstatus_to_dos_map[].ntstatus is not 0. Granted, > this is mostly theoretical, but could be used as a DOS attack > if

Re: [PATCH 3.12-rc4] cifs: ntstatus_to_dos_map[] is not terminated

2013-10-13 Thread Steve French
Merged into cifs-2.6.git (for-next and for-linus branches) Thoughts about suitability for stable anyone? On Sun, Oct 13, 2013 at 2:29 PM, Tim Gardner wrote: > Functions that walk the ntstatus_to_dos_map[] array could > run off the end. For example, ntstatus_to_dos() loops > while ntstatus_to_do

[PATCH 3.12-rc4] cifs: ntstatus_to_dos_map[] is not terminated

2013-10-13 Thread Tim Gardner
Functions that walk the ntstatus_to_dos_map[] array could run off the end. For example, ntstatus_to_dos() loops while ntstatus_to_dos_map[].ntstatus is not 0. Granted, this is mostly theoretical, but could be used as a DOS attack if the error code in the SMB header is bogus. Cc: Steve French Sign