Changeset 6ea9196 in rtems


Ignore:
Timestamp:
Mar 27, 2003, 1:48:56 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8bdf1d6
Parents:
34b5bdb6
Message:

2003-03-27 Joel Sherrill <joel@…>

  • kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy().
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    r34b5bdb6 r6ea9196  
     12003-03-27      Joel Sherrill <joel@OARcorp.com>
     2
     3        * kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy().
     4
    152003-03-25      Joel Sherrill <joel@OARcorp.com>
    26
  • cpukit/libnetworking/kern/kern_sysctl.c

    r34b5bdb6 r6ea9196  
    857857        tmparg = malloc(outlen, M_SYSCTLTMP, M_WAITOK);
    858858
    859         if (strlcpy(tmparg, (char *)arg1, outlen) >= outlen) {
     859        if (strncpy(tmparg, (char *)arg1, outlen) >= outlen) {
    860860                free(tmparg, M_SYSCTLTMP);
    861861                goto retry;
Note: See TracChangeset for help on using the changeset viewer.