Changeset 2eb59419 in rtems


Ignore:
Timestamp:
Dec 7, 2009, 5:27:46 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
c2e6a059
Parents:
4c833771
Message:

2009-12-07 Cindy Cicalese <cicalese@…>

PR 1477/cpukit

  • score/src/objectsetname.c: Ensure destination is NULL terminated. String copy was not getting the NULL.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r4c833771 r2eb59419  
     12009-12-07      Cindy Cicalese <cicalese@mitre.org>
     2
     3        PR 1477/cpukit
     4        * score/src/objectsetname.c: Ensure destination is NULL terminated.
     5        String copy was not getting the NULL.
     6
    172009-12-06      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • cpukit/score/src/objectsetname.c

    r4c833771 r2eb59419  
    11/*
    2  *  COPYRIGHT (c) 1989-2008.
     2 *  COPYRIGHT (c) 1989-2009.
    33 *  On-Line Applications Research Corporation (OAR).
    44 *
     
    5454
    5555    strncpy( d, name, length );
     56    d[length] = '\0';
    5657    the_object->name.name_p = d;
    5758  } else
Note: See TracChangeset for help on using the changeset viewer.