1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00
JUCE/modules/juce_audio_plugin_client
reuk 0223e44ae7
Image: Keep track of contiguous buffer size to avoid heap buffer overflows
In CoreGraphicsPixelData::createImage, image data was copied from a
BitmapData created from the Image passed into the function.

The BitmapData instance didn't keep track of the size of the buffer it
pointed to, so the buffer size was computed by multiplying the
BitmapData height by its line stride. However, if the BitmapData pointed
to a subsection of an image, the `data` pointer might be offset from
the allocated region, and `data + lineStride * height` would point past
the end of the allocated region. Trying to read/copy this range would
cause a heap buffer overflow at the end of the range.

This change adjusts BitmapData so that it keeps track of the size of the
allocated region. Taking a subsection of an image should subtract the
data pointer offset from the size of the allocated region.
2022-02-23 10:56:09 +00:00
..
AAX Plugin clients: Fix bypass behaviours to match getBypassParameter() documentation 2022-02-07 14:24:11 +00:00
AU AUv3 Client: Add missing autorelease 2022-02-17 16:04:58 +00:00
RTAS Plugin clients: Fix bypass behaviours to match getBypassParameter() documentation 2022-02-07 14:24:11 +00:00
Standalone ComponentPeer: Deprecate getFrameSize() 2022-02-03 21:46:36 +01:00
Unity Image: Keep track of contiguous buffer size to avoid heap buffer overflows 2022-02-23 10:56:09 +00:00
utility MinGW: Improve compatibility 2022-01-17 10:58:18 +00:00
VST Plugin clients: Fix bypass behaviours to match getBypassParameter() documentation 2022-02-07 14:24:11 +00:00
VST3 AudioProcessorEditorHostContext: Fix naming of getContextMenuForParameter 2022-02-18 16:43:25 +00:00
AUResources.r Build: Improve support for AU resource files on ARM Macs 2021-06-25 11:12:37 +01:00
juce_audio_plugin_client.h Bump version number to 6.1.5 2022-01-26 13:00:05 +00:00
juce_audio_plugin_client_AAX.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AAX.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU.r Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU_1.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_AU_2.mm Fix warnings when building in C++20 mode 2021-01-15 13:33:40 +00:00
juce_audio_plugin_client_AUv3.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS.r Renamed XCode to Xcode in multiple places 2017-10-06 09:54:32 +01:00
juce_audio_plugin_client_RTAS_1.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_2.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_3.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_4.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_utils.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_RTAS_utils.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_Standalone.cpp AppConfig: Ensure AppConfig is always included in plugin wrappers 2020-10-20 10:16:13 +01:00
juce_audio_plugin_client_Unity.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_utils.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST2.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST3.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_audio_plugin_client_VST_utils.mm Updated all license headers 2020-06-29 08:30:22 +01:00