Changeset 1bbb359 in rtems-libbsd


Ignore:
Timestamp:
Oct 23, 2013, 7:47:26 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
c804e50
Parents:
57f2002
git-author:
Sebastian Huber <sebastian.huber@…> (10/23/13 07:47:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:48)
Message:

Avoid NULL pointer access

File:
1 edited

Legend:

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

    r57f2002 r1bbb359  
    11811181#ifndef __rtems__
    11821182        req.td = td;
     1183#else /* __rtems__ */
     1184        req.td = curthread;
    11831185#endif /* __rtems__ */
    11841186        req.flags = flags;
     
    14291431                        return (error);
    14301432        }
     1433#else /* __rtems__ */
     1434        (void) lvl;
    14311435#endif /* __rtems__ */
    14321436
Note: See TracChangeset for help on using the changeset viewer.