Changeset 411 for branches/samba-3.3.x/source/smbd/mangle_hash.c
- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/mangle_hash.c
r370 r411 336 336 337 337 SMB_ASSERT(chartest != NULL); 338 memset(chartest, '\0', 256); 338 339 339 340 for( s = (const unsigned char *)basechars; *s; s++ ) { … … 412 413 TDB_DATA data_val; 413 414 char mangled_name_key[13]; 414 char *s1 ;415 char *s2 ;415 char *s1 = NULL; 416 char *s2 = NULL; 416 417 417 418 /* If the cache isn't initialized, give up. */ … … 452 453 } 453 454 /* Restore the change we made to the const string. */ 454 *s2 = '.'; 455 if (s2) { 456 *s2 = '.'; 457 } 455 458 } 456 459
Note:
See TracChangeset
for help on using the changeset viewer.