Ignore:
Timestamp:
Nov 26, 2007, 9:24:27 AM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.27a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/libsmb/clirap.c

    r26 r105  
    218218        int uLevel = 1;
    219219        int count = -1;
     220        size_t len;
    220221
    221222        errno = 0; /* reset */
     
    237238        p += 4;
    238239
    239         p += push_ascii(p, workgroup, sizeof(pstring)-PTR_DIFF(p,param)-1, STR_TERMINATE|STR_UPPER);
     240        len = push_ascii(p, workgroup, sizeof(pstring)-PTR_DIFF(p,param)-1, STR_TERMINATE|STR_UPPER);
     241        if (len == (size_t)-1) {
     242                return false;
     243        }
     244        p += len;
    240245       
    241246        if (cli_api(cli,
Note: See TracChangeset for help on using the changeset viewer.