As per the discussion on linuxptp-users, this is a set that tries to fix the unhandled errors in memory allocation in timemaster.
Miroslav Lichvar (3): util: add wrappers for memory allocation functions. util: exit in string_* and parray_* functions when allocation fails. timemaster: use wrapped memory allocation functions. timemaster.c | 82 ++++++++++++++++++++++++++++++------------------------------ util.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++----------- util.h | 67 ++++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 161 insertions(+), 67 deletions(-) -- 2.1.0 ------------------------------------------------------------------------------ _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel