wireshark/plugins/epan/mate
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
..
examples
matelib
AUTHORS
CMakeLists.txt Tools: Clean up checkAPI and add ui/qt. 2020-09-05 07:41:29 +00:00
mate.h GLib: Bump requirement 2.32 -> 2.36 2020-11-25 06:25:38 +00:00
mate_grammar.lemon mate: Memory leak in mate_grammar.lemon's recolonize function. 2019-02-25 15:30:31 +00:00
mate_parser.l Free g_ptr_array_free-related memory leaks 2018-05-14 13:42:10 +00:00
mate_runtime.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
mate_setup.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
mate_util.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
mate_util.h Use common indenting space in heading 2018-05-01 06:55:55 +00:00
packet-mate.c MATE: Improve MATE debug facility 2020-10-24 18:42:50 +00:00