virtualx-engine/core/io
Rémi Verschelde 01d5c463be
FileAccess: Don't err in store_buffer with buffer of size 0
The error check was added for `FileAccessUnix` but it's not an error when both
`p_src` and `p_length` are zero.

Added correct error checks to all implementations to prevent the actual
erroneous case: `p_src` is nullptr but `p_length > 0` (risk of null pointer
indexing).

Fixes #33564.
2021-06-07 18:34:00 +02:00
..
compression.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
compression.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
config_file.cpp Add a "keep" import mode to keep files as-is and export them. 2021-03-22 17:19:19 -03:00
config_file.h Add a "keep" import mode to keep files as-is and export them. 2021-03-22 17:19:19 -03:00
dtls_server.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
dtls_server.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
file_access_compressed.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_compressed.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_encrypted.cpp FileAccess: Don't err in store_buffer with buffer of size 0 2021-06-07 18:34:00 +02:00
file_access_encrypted.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_memory.cpp FileAccess: Don't err in store_buffer with buffer of size 0 2021-06-07 18:34:00 +02:00
file_access_memory.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_network.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_network.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_pack.cpp Merge pull request #48889 from Calinou/file-rename-endian-swap 2021-06-03 15:19:07 +02:00
file_access_pack.h Merge pull request #48889 from Calinou/file-rename-endian-swap 2021-06-03 15:19:07 +02:00
file_access_zip.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
file_access_zip.h Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
http_client.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
http_client.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
image.cpp Core: Drop custom copymem/zeromem defines 2021-04-27 16:26:27 +02:00
image.h Add ability to change Icon Saturation 2021-02-12 12:16:37 -03:00
image_loader.cpp Improve resource load cache 2021-02-11 15:44:28 -03:00
image_loader.h Improve resource load cache 2021-02-11 15:44:28 -03:00
ip.cpp Fix DNS resolve mutex locks 2021-06-03 22:58:40 +07:00
ip.h Support multiple address resolution in DNS requests 2021-06-01 11:24:34 +07:00
ip_address.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
ip_address.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
json.cpp Merge pull request #40804 from naithar/fix/json-parse 2021-03-23 13:07:04 +01:00
json.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logger.cpp Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-02-28 19:36:10 -03:00
logger.h Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts. 2021-02-28 19:36:10 -03:00
marshalls.cpp Style: Cleanup uses of double spaces between words 2021-06-07 11:03:08 +02:00
marshalls.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multiplayer_api.cpp [Net] Refactor RPCs, remove RSETs 2021-06-01 17:24:21 +02:00
multiplayer_api.h [Net] Refactor RPCs, remove RSETs 2021-06-01 17:24:21 +02:00
net_socket.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
net_socket.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
networked_multiplayer_peer.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
networked_multiplayer_peer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packed_data_container.cpp Rename Quat to Quaternion 2021-06-04 18:14:32 +01:00
packed_data_container.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_dtls.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_dtls.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
packet_peer_udp.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
packet_peer_udp.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
pck_packer.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
pck_packer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource.cpp Implement Particle Trails 2021-04-30 17:38:02 -03:00
resource.h Implement Particle Trails 2021-04-30 17:38:02 -03:00
resource_format_binary.cpp Rename Quat to Quaternion 2021-06-04 18:14:32 +01:00
resource_format_binary.h Improve resource load cache 2021-02-11 15:44:28 -03:00
resource_importer.cpp Use multiple threads to import. 2021-04-19 14:12:22 -03:00
resource_importer.h Use multiple threads to import. 2021-04-19 14:12:22 -03:00
resource_loader.cpp Style: Cleanup uses of double spaces between words 2021-06-07 11:03:08 +02:00
resource_loader.h doc: Sync classref with current source 2021-02-19 14:39:14 +01:00
resource_saver.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_saver.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
stream_peer.cpp Rename File's endian_swap to big_endian 2021-05-20 14:58:03 +02:00
stream_peer.h Rename File's endian_swap to big_endian 2021-05-20 14:58:03 +02:00
stream_peer_ssl.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
stream_peer_ssl.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
stream_peer_tcp.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
stream_peer_tcp.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
tcp_server.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
tcp_server.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
translation_loader_po.cpp Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
translation_loader_po.h Improve resource load cache 2021-02-11 15:44:28 -03:00
udp_server.cpp Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
udp_server.h Rename IP_Unix, IP_Address and TCP_Server to remove underscores 2021-05-06 02:52:01 +02:00
xml_parser.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
xml_parser.h Style: Cleanup uses of double spaces between words 2021-06-07 11:03:08 +02:00
zip_io.cpp Rename File::get_len() get_length() 2021-05-25 11:54:28 +01:00
zip_io.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00