Ignore:
Timestamp:
Mar 1, 2010, 3:05:48 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3.x to 3.3.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/smbd/mangle_hash.c

    r370 r411  
    336336
    337337        SMB_ASSERT(chartest != NULL);
     338        memset(chartest, '\0', 256);
    338339
    339340        for( s = (const unsigned char *)basechars; *s; s++ ) {
     
    412413        TDB_DATA data_val;
    413414        char mangled_name_key[13];
    414         char *s1;
    415         char *s2;
     415        char *s1 = NULL;
     416        char *s2 = NULL;
    416417
    417418        /* If the cache isn't initialized, give up. */
     
    452453        }
    453454        /* Restore the change we made to the const string. */
    454         *s2 = '.';
     455        if (s2) {
     456                *s2 = '.';
     457        }
    455458}
    456459
Note: See TracChangeset for help on using the changeset viewer.