diff options
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_prealloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c index f67cefbe2f..4ba27a6c85 100644 --- a/source3/modules/vfs_prealloc.c +++ b/source3/modules/vfs_prealloc.c @@ -139,7 +139,9 @@ static int prealloc_open(vfs_handle_struct* handle, if (dot && *++dot) { if (strlen(dot) < sizeof(fext)) { strncpy(fext, dot, sizeof(fext)); - strnorm(fext, CASE_LOWER); + if (!strnorm(fext, CASE_LOWER)) { + goto normal_open; + } } } |