Ignore:
Timestamp:
May 26, 2009, 9:44:50 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/smbd/session.c

    r133 r228  
    114114                        }
    115115
    116                         sess_pid = ((struct sessionid *)rec->value.dptr)->pid;
     116                        memcpy(&sess_pid,
     117                               ((char *)rec->value.dptr)
     118                               + offsetof(struct sessionid, pid),
     119                               sizeof(sess_pid));
    117120
    118121                        if (!process_exists(sess_pid)) {
Note: See TracChangeset for help on using the changeset viewer.