mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
6b6718e4d2
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. |
||
---|---|---|
.. | ||
analysis | ||
astyle | ||
bootstrap_daemon | ||
docker | ||
emscripten | ||
event_tooling | ||
fun | ||
pkgconfig | ||
proxy | ||
rpm | ||
bootstrap_node_packets.c | ||
bootstrap_node_packets.h | ||
BUILD.bazel | ||
DHT_bootstrap.c | ||
DHTnodes | ||
make_single_file | ||
Makefile.inc | ||
osx_build_script_toxcore.sh | ||
print-version | ||
tox-warning.png | ||
tox.png | ||
version-sync | ||
windows_build_script_toxcore.sh |