godot/core/io
Fabio Alessandrelli 324636473a [Net] Fix Marshalls infinite recursion crash.
Variants like dictionaries and arrays can have cyclic references, which
caused `encode_variant` to run an infinite recursion.
Instead of keeping a stack and looking for cyclic references which would
make serialization slower, this commit adds a `MAX_RECURSION_DEPTH`
constant to Variant, and have `encode_variant` keep track of the current
recursion depth, bailing when it's too high since this likely means a
cyclic reference has been encountered.
2021-07-30 16:13:43 +02:00
..
compression.cpp Fix decompression with FastLZ when buffer size is less than 16 bytes 2021-07-13 16:34:45 +08:00
compression.h
config_file.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
config_file.h
dir_access.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
dir_access.h
dtls_server.cpp
dtls_server.h
file_access_compressed.cpp
file_access_compressed.h
file_access_encrypted.cpp
file_access_encrypted.h
file_access_memory.cpp
file_access_memory.h
file_access_network.cpp
file_access_network.h
file_access_pack.cpp
file_access_pack.h
file_access_zip.cpp
file_access_zip.h
file_access.cpp
file_access.h
http_client_tcp.cpp Fix unicode invalid skip error in AssetLib 2021-07-11 12:14:08 +08:00
http_client_tcp.h [Net] Makes HTTPClient a custom instance class. 2021-06-23 14:10:45 +02:00
http_client.cpp Use C++ iterators for Lists in many situations 2021-07-23 17:38:28 -04:00
http_client.h [Net] Makes HTTPClient a custom instance class. 2021-06-23 14:10:45 +02:00
image_loader.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
image_loader.h
image.cpp Validate image formats, check if resize_to_po2 failed 2021-06-28 21:17:06 +02:00
image.h Validate image formats, check if resize_to_po2 failed 2021-06-28 21:17:06 +02:00
ip_address.cpp
ip_address.h
ip.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
ip.h
json.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
json.h
logger.cpp
logger.h
marshalls.cpp [Net] Fix Marshalls infinite recursion crash. 2021-07-30 16:13:43 +02:00
marshalls.h [Net] Fix Marshalls infinite recursion crash. 2021-07-30 16:13:43 +02:00
multiplayer_api.cpp [Net] Fix RPC ID encoding/decoding for Node methods. 2021-07-29 00:00:30 +02:00
multiplayer_api.h [Net] Single rpc annotation. "sync" no longer part of mode. 2021-07-20 11:17:59 +02:00
multiplayer_peer.cpp [Net] Add generate_unique_id to MultiplayerPeer. 2021-07-29 10:40:03 +02:00
multiplayer_peer.h [Net] Add generate_unique_id to MultiplayerPeer. 2021-07-29 10:40:03 +02:00
net_socket.cpp
net_socket.h
packed_data_container.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
packed_data_container.h
packet_peer_dtls.cpp
packet_peer_dtls.h
packet_peer_udp.cpp
packet_peer_udp.h
packet_peer.cpp
packet_peer.h
pck_packer.cpp
pck_packer.h
resource_format_binary.cpp Fix various typos 2021-07-25 07:18:25 -04:00
resource_format_binary.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource_importer.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_importer.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource_loader.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_loader.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
resource_saver.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource_saver.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource_uid.cpp ResourceUID: Fix remove_id binding 2021-07-25 11:55:56 +02:00
resource_uid.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
resource.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
resource.h Implement Resource UIDs 2021-07-24 09:16:52 -03:00
SCsub
stream_peer_ssl.cpp
stream_peer_ssl.h
stream_peer_tcp.cpp
stream_peer_tcp.h
stream_peer.cpp
stream_peer.h
tcp_server.cpp Network port comparison is always false 2021-06-30 02:39:17 -07:00
tcp_server.h
translation_loader_po.cpp
translation_loader_po.h
udp_server.cpp Network port comparison is always false 2021-06-30 02:39:17 -07:00
udp_server.h
xml_parser.cpp
xml_parser.h
zip_io.cpp
zip_io.h