Changeset fd4482d for INSTALL

Timestamp:
03/09/16 09:19:43 (5 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, master, ndag_format, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
38c00dd, c46b7ea
Parents:
b6cbdaf
Message:

Make sure trace_create_packet() doesn't segfault

If allocating memory for the new packet fails, we now return NULL
instead of carrying on and trying to initialise the packet fields.

This has always been the intended behaviour (see some of the examples
for cases where we check if packet is NULL after calling trace_create_packet())
but I guess nobody actually implemented it...

(No files)

Note: See TracChangeset for help on using the changeset viewer.