Changeset 8a7d4b5


Ignore:
Timestamp:
06/27/13 09:45:38 (7 years ago)
Author:
Perry Lorier <perry@…>
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:
946f9e1
Parents:
808eeef
Message:

Don't crash if you can't read the cryptopan key file.

Reported by:
The Mayhem Team (Alexandre Rebert, Thanassis Avgerinos, Sang Kil Cha,
David Brumley, Manuel Egele)
Cylab, Carnegie Mellon University

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/traceanon/traceanon.c

    r1439466 r8a7d4b5  
    168168                                  if(infile == NULL) {
    169169                                    perror("Failed to open cryptopan keyfile");
     170                                    return 1;
    170171                                  }
    171172                                  key = (char *) malloc(sizeof(char *) * 32);
Note: See TracChangeset for help on using the changeset viewer.