diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-05-20 10:31:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:10 -0500 |
commit | add9d49dbbe71d1776c8fac5a26427ac7b5e8d03 (patch) | |
tree | 69dda7158d4579ef3a958efcc5c153378eaa15dd /source4/smb_server | |
parent | 1a60ed5aa86c41e86ea046d54a378bbd45ce7709 (diff) | |
download | samba-add9d49dbbe71d1776c8fac5a26427ac7b5e8d03.tar.gz samba-add9d49dbbe71d1776c8fac5a26427ac7b5e8d03.tar.bz2 samba-add9d49dbbe71d1776c8fac5a26427ac7b5e8d03.zip |
r15739: return False when the function is called with an invalid level
metze
(This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c)
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/trans2.c b/source4/smb_server/smb/trans2.c index 69fa65010c..13b0cb41ac 100644 --- a/source4/smb_server/smb/trans2.c +++ b/source4/smb_server/smb/trans2.c @@ -1086,7 +1086,7 @@ static BOOL find_fill_info(struct find_state *state, case RAW_SEARCH_FUNIQUE: case RAW_SEARCH_GENERIC: /* handled elsewhere */ - break; + return False; case RAW_SEARCH_STANDARD: if (state->flags & FLAG_TRANS2_FIND_REQUIRE_RESUME) { |