Changeset 39840438 in rtems


Ignore:
Timestamp:
05/16/14 13:34:33 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, 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.