Changeset 0c25ba68 in rtems


Ignore:
Timestamp:
Mar 10, 2014, 8:49:55 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
96c4112
Parents:
909f61b
git-author:
Sebastian Huber <sebastian.huber@…> (03/10/14 08:49:55)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/10/14 12:29:23)
Message:

posix: Fix NULL pointer access in pthread_create()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/pthreadcreate.c

    r909f61b r0c25ba68  
    140140#if defined(RTEMS_SMP)
    141141#if __RTEMS_HAVE_SYS_CPUSET_H__
    142   rc = _CPU_set_Is_valid( attr->affinityset, attr->affinitysetsize );
     142  rc = _CPU_set_Is_valid( the_attr->affinityset, the_attr->affinitysetsize );
    143143  if ( rc != 0 )
    144144    return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.