godot/drivers
Rémi Verschelde 089fde5c59
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.

(cherry picked from commit 01d5c463be)
2021-06-07 22:56:01 +02:00
..
alsa Omit some functions in alsa wrapper 2021-02-22 21:39:22 +01:00
alsamidi Modernize Thread 2021-02-18 11:58:08 +01:00
coreaudio Replace malloc's with Godot's memalloc macro 2021-03-13 22:01:27 +01:00
coremidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dummy ARVR GDNative enhancements: 2021-03-25 22:37:47 +11:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-05-04 12:54:34 +02:00
gles2 Fixed usage of proxy textures on GLES2 sky 2021-05-09 16:16:58 +02:00
gles3 Fix 2d software skinning relative transforms 2021-05-03 16:37:58 +02:00
gles_common Batching - fix item_batch_flags stale state 2021-05-24 12:58:59 +02:00
png SCons: Add explicit dependencies on thirdparty code in cloned env 2021-05-04 12:54:34 +02:00
pulseaudio Fix crash when using ALSA MIDI with PulseAudio 2021-06-03 12:41:29 +02:00
unix FileAccess: Don't err in `store_buffer` with buffer of size 0 2021-06-07 22:56:01 +02:00
wasapi Modernize Thread 2021-02-18 11:58:08 +01:00
windows FileAccess: Don't err in `store_buffer` with buffer of size 0 2021-06-07 22:56:01 +02:00
winmidi Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
xaudio2 Modernize Thread 2021-02-18 11:58:08 +01:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00
register_driver_types.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_driver_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00