diff options
author | Ronnie Sahlberg <[email protected]> | 2019-07-09 18:41:11 +1000 |
---|---|---|
committer | Steve French <[email protected]> | 2019-07-10 16:15:45 -0500 |
commit | df070afd9b8c952eacf49db54cae7138eb9deaeb (patch) | |
tree | 537e6118629e984ee62764f450abe0bf66738f3b /net/lapb/lapb_in.c | |
parent | f5f111c231f56e56e186c9a61a9d22fb8bf05faa (diff) |
cifs: fix parsing of symbolic link error response
RHBZ: 1672539
In smb2_query_symlink(), if we are parsing the error buffer but it is not something
we recognize as a symlink we should return -EINVAL and not -ENOENT.
I.e. the entry does exist, it is just not something we recognize.
Additionally, add check to verify that that the errortag and the reparsetag all make sense.
Signed-off-by: Ronnie Sahlberg <[email protected]>
Acked-by: Paulo Alcantara <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions