Changeset 353


Ignore:
Timestamp:
Dec 28, 2009, 2:16:16 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

divers fix for Ticket #111 and memory leak in os2ea.c

Location:
branches/samba-3.3.x/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/VERSION

    r342 r353  
    8585#                                                      #
    8686########################################################
    87 SAMBA_VERSION_VENDOR_SUFFIX=
     87SAMBA_VERSION_VENDOR_SUFFIX="eCS 1.1beta4"
    8888SAMBA_VERSION_VENDOR_PATCH=
    8989
  • branches/samba-3.3.x/source/include/version.h

    r342 r353  
    44#define SAMBA_VERSION_RELEASE 9
    55#define SAMBA_VERSION_OFFICIAL_STRING "3.3.9"
     6#define SAMBA_VERSION_VENDOR_SUFFIX "eCS 1.1beta4"
    67#define SAMBA_VERSION_STRING samba_version_string()
  • branches/samba-3.3.x/source/lib/os2ea.c

    r255 r353  
    310310                free(pgea2list);
    311311        }
    312         if (pgea2list)
     312        if (pfea2list)
    313313        {
    314314                free(pfea2list);
     
    380380                        }
    381381                }
     382                // had to be added to avoid crash in case of broken extended attributes
     383                if (pfea->oNextEntryOffset > 0x10000)
     384                {
     385                        DEBUG(0, ("Broken Extended Attributes detected for: %s:%d\n", path ? path : "null", file));
     386                        break;
     387                }
    382388                if (!pfea->oNextEntryOffset)
    383389                {
Note: See TracChangeset for help on using the changeset viewer.