Changeset 39840438 in rtems


Ignore:
Timestamp:
May 16, 2014, 1:34:33 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
2d96533
Parents:
1ac0b083
Message:

dosfs: Fix read from invalid memory area

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos_conv.c

    r1ac0b083 r39840438  
    632632         * string.
    633633         */
    634         if ( *name_ptr == '.' ) {
     634        if ( name_size > 0 && *name_ptr == '.' ) {
    635635          ++name_ptr;
    636636          --name_size;
Note: See TracChangeset for help on using the changeset viewer.