diff options
Diffstat (limited to 'source3/rpc_server/dfs/srv_dfs_nt.c')
-rw-r--r-- | source3/rpc_server/dfs/srv_dfs_nt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c index 49e65066e5..fc9c92b552 100644 --- a/source3/rpc_server/dfs/srv_dfs_nt.c +++ b/source3/rpc_server/dfs/srv_dfs_nt.c @@ -138,7 +138,9 @@ WERROR _dfs_Remove(struct pipes_struct *p, struct dfs_Remove *r) if (!altpath) { return WERR_NOMEM; } - strlower_m(altpath); + if (!strlower_m(altpath)) { + return WERR_INVALID_PARAM; + } DEBUG(5,("init_reply_dfs_remove: Request to remove %s -> %s\\%s.\n", r->in.dfs_entry_path, r->in.servername, r->in.sharename)); } |