Ignore:
Timestamp:
02/21/14 14:26:42 (7 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
4a2529b
Parents:
80d23bb
Message:

Replaced some strcats with strncats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracesplit/tracesplit.c

    rc5ff469 r755855a  
    3434{
    3535        str=realloc(str,strlen(str)+strlen(app)+1);
    36         strcat(str,app);
     36        strncat(str,app,strlen(str) + strlen(app));
    3737        return str;
    3838}
Note: See TracChangeset for help on using the changeset viewer.