Changeset eb961961 in rtems for cpukit/libblock


Ignore:
Timestamp:
Dec 19, 2008, 2:59:35 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
51a6fd5
Parents:
52410c2
Message:

2008-12-19 Sebastian Huber <sebastian.huber@…>

  • libblock/src/ide_part_table.c: Fixed NULL pointer access.
  • libmisc/monitor/mon-command.c, libmisc/monitor/mon-editor.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/monitor.h, libmisc/shell/cmds.c: The list of registered monitor commands is now private and only accessible via a lookup and iterate function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/ide_part_table.c

    r52410c2 reb961961  
    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.