Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/nmbd/nmbd_packets.c

    r1 r26  
    11541154                case ANN_HostAnnouncement:
    11551155                        debug_browse_data(buf, len);
    1156                         process_lm_host_announce(subrec, p, buf+1);
     1156                        process_lm_host_announce(subrec, p, buf+1, len > 1 ? len-1 : 0);
    11571157                        break;
    11581158                case ANN_AnnouncementRequest:
    1159                         process_lm_announce_request(subrec, p, buf+1);
     1159                        process_lm_announce_request(subrec, p, buf+1, len > 1 ? len-1 : 0);
    11601160                        break;
    11611161                default:
     
    19001900        p2 = smb_buf(ptr);
    19011901        safe_strcpy_base(p2, mailslot, dgram->data, sizeof(dgram->data));
    1902         p2 = skip_string(p2,1);
     1902        p2 = skip_string(ptr,MAX_DGRAM_SIZE,p2);
    19031903 
    19041904        if (((p2+len) > dgram->data+sizeof(dgram->data)) || ((p2+len) < p2)) {
Note: See TracChangeset for help on using the changeset viewer.