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/smbd/reply.c

    r62 r105  
    526526                set_message(outbuf,2,0,True);
    527527                p = smb_buf(outbuf);
    528                 p += srvstr_push(outbuf, p, server_devicetype, -1,
     528                p += srvstr_push(outbuf, p, server_devicetype, BUFFER_SIZE - (p - outbuf),
    529529                                 STR_TERMINATE|STR_ASCII);
    530530                set_message_end(outbuf,p);
     
    556556
    557557                p = smb_buf(outbuf);
    558                 p += srvstr_push(outbuf, p, server_devicetype, -1,
     558                p += srvstr_push(outbuf, p, server_devicetype, BUFFER_SIZE - (p - outbuf),
    559559                                 STR_TERMINATE|STR_ASCII);
    560                 p += srvstr_push(outbuf, p, fstype, -1,
     560                p += srvstr_push(outbuf, p, fstype, BUFFER_SIZE - (p - outbuf),
    561561                                 STR_TERMINATE);
    562562               
     
    17681768        SSVALS(p, 0, -1); /* what is this? not in spec */
    17691769#endif
    1770         namelen = srvstr_push(outbuf, p, s, -1, STR_ASCII|STR_TERMINATE);
     1770        namelen = srvstr_push(outbuf, p, s, BUFFER_SIZE - (p - outbuf), STR_ASCII|STR_TERMINATE);
    17711771        p += namelen;
    17721772        outsize = set_message_end(outbuf, p);
Note: See TracChangeset for help on using the changeset viewer.