obs-StreamFX/source
Michael Fabian 'Xaymar' Dirks 01bf510a28 util-memory: Use standard alloc/free and fix incorrect aligned length
The custom allocator occasionally returned memory that was aligned, but did not have enough space to store the actual size due to a calculation error in the size. This resulted in situations where allocating 1022 bytes would give you a writable buffer of only 1020 bytes or less, or also known as writing into unknown memory, possibly even the heap. This is now fixed by doubling the padding used.

Additionally it will now default to using standard allocators, which should work better and rely on the Compiler.
2018-02-24 04:35:49 +01:00
..
filter-blur.cpp plugin: Use self-registration code everywhere 2018-01-16 11:47:24 +01:00
filter-blur.h filter-blur: Fix Blur filter occasionally not rendering 2017-12-14 03:52:29 +01:00
filter-custom-shader.cpp filter-custom-shader: First working version with several fixes 2018-01-25 10:26:09 +01:00
filter-custom-shader.h filter-custom-shader: First working version with several fixes 2018-01-25 10:26:09 +01:00
filter-displacement.cpp plugin: Use self-registration code everywhere 2018-01-16 11:47:24 +01:00
filter-displacement.h filter-displacement: Formatting improvements 2017-08-19 23:56:05 +02:00
filter-shape.cpp gs-vertexbuffer: Slight Refactor to unify code style 2018-01-19 03:13:02 +01:00
filter-shape.h filter-shape: Use new GS classes 2017-09-18 00:05:53 +02:00
filter-transform.cpp gs-vertexbuffer: Slight Refactor to unify code style 2018-01-19 03:13:02 +01:00
filter-transform.h filter-transform: Use 16-byte aligned vec3 & vec4 2018-01-08 17:31:50 +01:00
gs-effect.cpp gs-effect: Add HasParameter and fix Set*Array 2018-01-25 09:12:47 +01:00
gs-effect.h gs-effect: Add HasParameter and fix Set*Array 2018-01-25 09:12:47 +01:00
gs-helper.cpp gs: Fix commit eb1612c6ee 2017-09-18 00:15:57 +02:00
gs-helper.h gs: Fix commit eb1612c6ee 2017-09-18 00:15:57 +02:00
gs-indexbuffer.cpp gs: Define shared limits and exclude mipmapper 2018-01-18 05:02:10 +01:00
gs-indexbuffer.h gs: Wrap OBS Graphics Subsystem in proper C++ classes 2017-09-18 00:05:28 +02:00
gs-limits.h gs: Define shared limits and exclude mipmapper 2018-01-18 05:02:10 +01:00
gs-mipmapper.cpp gs-mipmapper: Fix type conversion warnings 2017-12-14 03:12:24 +01:00
gs-mipmapper.h gs, effects: Anisotropic Mipmapper Class 2017-09-18 00:05:54 +02:00
gs-rendertarget.cpp gs-rendertarget: Fix missing initialization 2017-12-14 08:04:54 +01:00
gs-rendertarget.h gs: Wrap OBS Graphics Subsystem in proper C++ classes 2017-09-18 00:05:28 +02:00
gs-sampler.cpp gs-sampler: Add wrapper for gs_samplerstate_t 2018-01-19 05:06:42 +01:00
gs-sampler.h gs-sampler: Add wrapper for gs_samplerstate_t 2018-01-19 05:06:42 +01:00
gs-texture.cpp gs: Wrap OBS Graphics Subsystem in proper C++ classes 2017-09-18 00:05:28 +02:00
gs-texture.h gs-texture: Remove unused function 2017-12-14 01:39:43 +01:00
gs-vertex.cpp gs-vertex: Allocate memory if none is assigned 2018-01-19 03:01:54 +01:00
gs-vertex.h gs-vertex: Allocate memory if none is assigned 2018-01-19 03:01:54 +01:00
gs-vertexbuffer.cpp gs-vertexbuffer: Functions to directly access internal buffers 2018-01-19 03:15:12 +01:00
gs-vertexbuffer.h gs-vertexbuffer: Functions to directly access internal buffers 2018-01-19 03:15:12 +01:00
plugin.cpp plugin: Use self-registration code everywhere 2018-01-16 11:47:24 +01:00
plugin.h plugin: Allow new filters and transitions to self-register 2017-11-05 20:05:48 +01:00
source-mirror.cpp source-mirror: Release source and fix compiler warnings 2018-01-19 20:46:21 +01:00
source-mirror.h source-mirror: Release source and fix compiler warnings 2018-01-19 20:46:21 +01:00
strings.h project: Update Copyright Notice 2017-08-19 23:41:53 +02:00
util-math.cpp gs-vertex, util-math: Use _aligned_malloc instead of util::malloc_aligned 2018-01-08 17:41:26 +01:00
util-math.h util-math: Fix standalone compilation issues 2018-01-08 16:47:39 +01:00
util-memory.cpp util-memory: Use standard alloc/free and fix incorrect aligned length 2018-02-24 04:35:49 +01:00
util-memory.h util-memory: Expose aligned_offset to code 2018-01-19 20:46:22 +01:00
version.h.in project: Update Copyright Notice 2017-08-19 23:41:53 +02:00