wireshark/capchild
Moshe Kaplan e16166a74c Detect and replace bad allocation patterns
Adds a pre-commit hook for detecting and replacing
occurrences of `g_malloc()` and `wmem_alloc()` with
`g_new()` and `wmem_new()`, to improve the
readability of Wireshark's code, and
occurrences of
`g_malloc(sizeof(struct myobj) * foo)`
with
`g_new(struct myobj, foo)`
to prevent integer overflows

Also fixes all existing occurrences across
the codebase.
2020-12-22 14:56:38 +00:00
..
CMakeLists.txt HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
capture_ifinfo.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
capture_session.h Have callback function pointers in a capture_session structure. 2020-03-25 23:16:06 +00:00
capture_sync.c add support for compression of capture file 2020-10-30 00:25:22 +00:00
capture_sync.h Have callback function pointers in a capture_session structure. 2020-03-25 23:16:06 +00:00