Changeset a8e84c6 in rtems-libbsd


Ignore:
Timestamp:
Feb 14, 2017, 10:48:46 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
b988014
Parents:
fd34b52
git-author:
Sebastian Huber <sebastian.huber@…> (02/14/17 10:48:46)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/20/17 12:59:54)
Message:

DEVICE(9): Avoid NULL pointer access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/subr_bus.c

    rfd34b52 ra8e84c6  
    273273        case DEVICE_SYSCTL_PARENT:
    274274                value = dev->parent ? dev->parent->nameunit : "";
     275#ifdef __rtems__
     276                value = value ? value : "";
     277#endif /* __rtems__ */
    275278                break;
    276279        default:
Note: See TracChangeset for help on using the changeset viewer.