toxcore/toxav
iphydf 2570ddcb17
Fix errors on error paths found by oomer.
* Use-after-free because we free network before dht in one case.
* Various unchecked allocs in tests (not so important).
* We used to not check whether ping arrays were actually allocated in DHT.
* `ping_kill` and `ping_array_kill` used to crash when passing NULL.

Also:
* Added an assert in all public API functions to ensure tox isn't NULL.
  The error message you get from that is a bit nicer than "Segmentation
  fault" when clients (or our tests) do things wrong.
* Decreased the sleep time in iterate_all_wait from 20ms to 5ms.
  Everything seems to still work with 5ms, and this greatly decreases
  the amount of time spent per test run, making oomer run much faster.
2020-05-02 21:47:08 +01:00
..
audio.c Fix 2 memory leaks in ToxAV. 2020-04-05 09:32:23 +00:00
audio.h Use spdx license identifier instead of GPL blurb. 2020-03-14 13:06:19 +00:00
BUILD.bazel Remove tokstyle exemptions from build files. 2020-04-16 11:05:08 +00:00
bwcontroller.c Use public API for sending in BWC. 2020-04-08 13:41:58 +00:00
bwcontroller.h Use public API for sending in BWC. 2020-04-08 13:41:58 +00:00
groupav.c
groupav.h clean groups code 2020-03-15 00:00:27 +00:00
Makefile.inc Remove all uses of the PAIR macro in toxav. 2018-08-12 11:38:23 +00:00
msi.c Make function defns match their decls regarding storage class. 2020-03-18 15:14:31 +00:00
msi.h Fix up comments a bit to start being more uniform. 2020-03-14 13:28:42 +00:00
ring_buffer_test.cc Fix errors on error paths found by oomer. 2020-05-02 21:47:08 +01:00
ring_buffer.c
ring_buffer.h
rtp_test.cc
rtp.c Use public API for sending in RTP. 2020-04-09 11:51:34 +00:00
rtp.h
toxav_old.c
toxav.api.h
toxav.c Use public API for sending in RTP. 2020-04-09 11:51:34 +00:00
toxav.h Remove tokstyle exemptions from build files. 2020-04-16 11:05:08 +00:00
video.c Fix 2 memory leaks in ToxAV. 2020-04-05 09:32:23 +00:00
video.h Use spdx license identifier instead of GPL blurb. 2020-03-14 13:06:19 +00:00