wireshark/caputils
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
..
.editorconfig HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
CMakeLists.txt Don't call any routines from WinPcap/Npcap packet32.dll. 2020-07-14 07:30:59 +00:00
airpcap.h Doxygen: Try to fix reported warnings. 2019-07-10 12:48:21 +00:00
airpcap_loader.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
airpcap_loader.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
capture-pcap-util-int.h Put common code into get_interface_list_findalldevs_ex(). 2020-03-15 10:13:39 +00:00
capture-pcap-util-unix.c Windows: Switch from the WpdPack SDK to vcpkg's libpcap. 2020-07-21 04:33:13 +00:00
capture-pcap-util.c Detect and replace bad allocation patterns 2020-12-22 14:56:38 +00:00
capture-pcap-util.h Fix some places where we forgot to mention Npcap. 2020-03-12 18:59:44 +00:00
capture-wpcap.c Windows: Switch from the WpdPack SDK to vcpkg's libpcap. 2020-07-21 04:33:13 +00:00
capture-wpcap.h Convert WinPcap references to Npcap. 2019-02-08 20:29:06 +00:00
capture_ifinfo.h Fix some places where we forgot to mention Npcap. 2020-03-12 18:59:44 +00:00
capture_win_ifnames.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
capture_win_ifnames.h Fix comment end after SPDX identifier 2018-05-01 06:56:37 +00:00
iface_monitor.c make interface update libnl1 compatible 2019-08-11 20:20:34 +00:00
iface_monitor.h Remove the periodic interface update in wireless toolbar 2019-03-08 07:30:04 +00:00
ws80211_utils.c Handle -k better on platforms that don't support it. 2020-04-01 20:31:14 +00:00
ws80211_utils.h Handle -k better on platforms that don't support it. 2020-04-01 20:31:14 +00:00