Ronnie Sahlberg f74bc7c667 cifs: check MaxPathNameComponentLength != 0 before using it
And fix tcon leak in error path.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
2017-10-30 02:11:38 -05:00
..
2016-10-13 19:48:11 -05:00
2017-09-17 23:10:48 -05:00
2013-11-08 05:57:46 +09:00
2017-09-22 18:00:41 -05:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2017-06-20 19:13:47 -05:00
2017-05-03 10:10:10 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00