Changeset b1d4e42 in rtems for cpukit/libblock/src/diskdevs.c


Ignore:
Timestamp:
Apr 29, 2010, 11:34:59 AM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
a46689de
Parents:
3ac29f0a
Message:

2010-04-29 Sebastian Huber <sebastian.huber@…>

PR1507

  • libblock/src/bdbuf.c: Avoid NULL pointer access.
  • libblock/src/diskdevs.c: Fixed bounds check in rtems_disk_next().
File:
1 edited

Legend:

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

    r3ac29f0a rb1d4e42  
    476476    while (true)
    477477    {
    478         if ((dtab == NULL) || (minor > dtab->size))
     478        if ((dtab == NULL) || (minor >= dtab->size))
    479479        {
    480480             major++; minor = 0;
Note: See TracChangeset for help on using the changeset viewer.