Changeset c2034a9 in rtems


Ignore:
Timestamp:
Mar 27, 2003, 1:48:41 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
05341d8
Parents:
8db5e226
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

    r8db5e226 rc2034a9  
     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

    r8db5e226 rc2034a9  
    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.