Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/lib/charcnv.c

    r228 r232  
    548548        }
    549549        if (srclen == 0) {
     550                ob = ((ctx != NULL) ? talloc_strdup(ctx, "") : SMB_STRDUP(""));
     551                if (ob == NULL) {
     552                        errno = ENOMEM;
     553                        return false;
     554                }
     555                *dest = ob;
    550556                *converted_size = 0;
    551557                return true;
Note: See TracChangeset for help on using the changeset viewer.