mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
Merge from 3.0:
>Fix OOPS when dealing with mangled names reported by several users. >This was my bug when removing a redundant strlen. >Jerry - last showstopper I knew about. >Jeremy. (This used to be commit 3266777acb911f84e70f42f17cd9f6bbd3ba35d0)
This commit is contained in:
parent
3050c0602a
commit
c2505ca394
@ -119,7 +119,7 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
|
||||
|
||||
if (original_path_length != translated_path_length) {
|
||||
if (original_path_length < translated_path_length) {
|
||||
DEBUG(0, ("OOPS - tried to store stat cache entry for werid length paths [%s] %u and [%s] %u)!\n",
|
||||
DEBUG(0, ("OOPS - tried to store stat cache entry for weird length paths [%s] %u and [%s] %u)!\n",
|
||||
original_path, original_path_length, translated_path, translated_path_length));
|
||||
SAFE_FREE(original_path);
|
||||
SAFE_FREE(translated_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user