git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b0e47f
)
Don't crash on setfileinfo on printer fsp.
author
Jeremy Allison
<jra@samba.org>
Thu, 18 Jul 2002 23:25:19 +0000
(23:25 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 18 Jul 2002 23:25:19 +0000
(23:25 +0000)
Jeremy.
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 2532096dea31998cdd0a6ee41793a431ccb4e8ca..7da1758decc2fee8b96c191d36efb78ffa6eb17b 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/smbd/trans2.c
@@
-2246,7
+2246,8
@@
static int call_trans2setfilepathinfo(connection_struct *conn,
SSVAL(params,0,0);
send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0);
return(-1);
- }
+ } else
+ return (UNIXERROR(ERRDOS,ERRbadpath));
} else {
/*
* Original code - this is an open file.