toxcore/other
jfreegman 6b6718e4d2
cleanup: Make group packet entry creation less error-prone
We always assumed that create_array_entry() would only be called
with an empty array entry and wouldn't modify entries on error.
We now explicitly require both conditions, and also give an
error in the case of a non-null data pointer with a zero
length field, as this indicates a logic error.

Checks for an empty array entry that precede a call to
create_array_entry() are now redundant. It should be noted that
a non-empty entry doesn't necessarily indicate an error. This
condition can be triggered if packets are being sent or
received faster than they can be processed/acknowledged,
which is common when spamming messages on poor connections.
2024-01-11 11:02:29 -05:00
..
analysis test: Add more unit tests for add_to_list. 2024-01-10 02:58:13 +00:00
astyle chore: Simplify msvc build using vcpkg. 2024-01-06 12:27:31 +00:00
bootstrap_daemon cleanup: Make group packet entry creation less error-prone 2024-01-11 11:02:29 -05:00
docker refactor: Use operator== for equality tests of Node_format. 2024-01-11 13:32:01 +00:00
emscripten refactor: Use cmp instead of msgpack-c for events packing. 2022-03-26 23:57:15 +00:00
event_tooling fix: unpack enum function names in event impl generator 2023-12-24 14:34:34 +01:00
fun test: Upgrade cppcheck, fix some warnings. 2023-12-27 00:00:10 +00:00
pkgconfig update rpm spec and use variables in cmake instead of hardcoded paths (#624) 2018-01-15 14:23:33 +03:00
proxy cleanup: Remove explicit layering_check feature. 2023-11-23 23:55:57 +00:00
rpm Use the markdown GPLv3 license in the c-toxcore repo. 2018-02-08 16:08:09 +00:00
bootstrap_node_packets.c cleanup: Make all .c files include the headers they need. 2023-12-27 01:21:47 +00:00
bootstrap_node_packets.h cleanup: Remove uses of strcpy and sprintf. 2022-01-17 18:25:40 +00:00
BUILD.bazel cleanup: Make all .c files include the headers they need. 2023-12-27 01:21:47 +00:00
DHT_bootstrap.c cleanup: Make all .c files include the headers they need. 2023-12-27 01:21:47 +00:00
DHTnodes
make_single_file chore: Fix make_single_file to support core-only. 2023-12-20 23:12:06 +00:00
Makefile.inc cleanup: Remove NaCl support. 2023-12-25 00:36:38 +00:00
osx_build_script_toxcore.sh
print-version chore: Add bootstrap daemon docker image build. 2021-12-23 15:54:24 +00:00
tox-warning.png [ImgBot] Optimize images 2020-04-24 21:55:23 +00:00
tox.png
version-sync
windows_build_script_toxcore.sh Update deps used in Windows build scripts 2021-02-25 13:59:18 +03:00