Changeset 2730038 in rtems


Ignore:
Timestamp:
Mar 19, 2009, 10:20:10 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.9
Children:
596bcb6f
Parents:
4cbb5bf9
Message:
  • libblock/src/ide_part_table.c: Fixed NULL pointer access.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4cbb5bf9 r2730038  
     12009-03-17      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * libblock/src/ide_part_table.c: Fixed NULL pointer access.
     4
    152009-03-12      Santosh G Vattam <vattam.santosh@gmail.com>
    26
  • cpukit/libblock/src/ide_part_table.c

    r4cbb5bf9 r2730038  
    377377         part_num++)
    378378    {
    379         if (is_extended(disk_desc->partitions[part_num]->sys_type))
    380         {
    381             read_extended_partition(disk_desc->partitions[part_num]->start,
    382                                     disk_desc->partitions[part_num]);
     379        part_desc = disk_desc->partitions[part_num];
     380        if (part_desc != NULL && is_extended(part_desc->sys_type))
     381        {
     382            read_extended_partition(part_desc->start, part_desc);
    383383        }
    384384    }
Note: See TracChangeset for help on using the changeset viewer.