Dan Carpenter f37902608d cifs: remove bogus debug code
commit d367cb960ce88914898cbfa43645c2e43ede9465 upstream.

The "end" pointer is either NULL or it points to the next byte to parse.
If there isn't a next byte then dereferencing "end" is an off-by-one out
of bounds error.  And, of course, if it's NULL that leads to an Oops.
Printing "*end" doesn't seem very useful so let's delete this code.

Also for the last debug statement, I noticed that it should be printing
"sequence_end" instead of "end" so fix that as well.

Reported-by: Dominik Maier <dmaier@sect.tu-berlin.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-29 09:05:32 +01:00
..
2020-08-21 11:02:06 +02:00
2020-01-29 10:24:34 +01:00
2016-10-15 12:09:13 -07:00
2020-10-29 09:05:32 +01:00
2019-08-06 18:29:38 +02:00
2020-08-21 11:02:04 +02:00
2020-08-21 11:02:08 +02:00
2017-11-30 08:39:04 +00:00
2020-08-26 10:29:05 +02:00
2019-03-13 14:04:52 -07:00
2020-10-17 11:02:21 +02:00
2018-12-21 14:11:31 +01:00
2020-09-03 11:21:19 +02:00
2020-04-02 17:20:27 +02:00
2018-02-17 13:21:15 +01:00
2017-06-14 15:06:01 +02:00