Changeset b07d4453 in rtems


Ignore:
Timestamp:
Dec 7, 2009, 5:27:07 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
d258d35
Parents:
ef0bb765
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

    ref0bb765 rb07d4453  
     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-11-11      Jennifer Averett <jennifer.averett@OARcorp.com>
    28
  • cpukit/score/src/objectsetname.c

    ref0bb765 rb07d4453  
    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.