Ignore:
Timestamp:
Nov 14, 2013, 4:49:48 PM (12 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update Samba core to 3.5.22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/smbd/nttrans.c

    r736 r832  
    935935                        break;
    936936                }
     937
     938                /* Integer wrap protection for the increment. */
     939                if (offset + next_offset < offset) {
     940                        break;
     941                }
     942
    937943                offset += next_offset;
     944
     945                /* Integer wrap protection for while loop. */
     946                if (offset + 4 < offset) {
     947                        break;
     948                }
     949
    938950        }
    939951
Note: See TracChangeset for help on using the changeset viewer.