From add9d49dbbe71d1776c8fac5a26427ac7b5e8d03 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 20 May 2006 10:31:23 +0000 Subject: r15739: return False when the function is called with an invalid level metze (This used to be commit fc20e4154a6a8d67d06f7abbd48059a4618fc21c) --- source4/smb_server/smb/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit