overte/libraries
Anthony J. Thibault ac6fcf092c Fix memory corruption via lambdas that capture local variables by reference.
The lambdas in ScriptEngine::fetchModuleSource() were referencing local stack variables by reference.
This could lead to un-expected results including memory corruption.
To workaround this issue the QTimer and QEventLoop variables are allocated on the heap and held onto by a shared_ptr.
This shared_ptr is passed to the lambda.

This will not result in cycles and should result in the QTimer and QEventLoop being destroyed when the BatchLoader
object they are connected to is deleted.
2018-06-28 11:15:25 -07:00
..
animation fix crash mode for Animation::_geometry access before ready 2018-06-15 14:30:59 -07:00
audio CR: warnings use qCWarning() instead of qCDebug() 2018-06-14 09:44:58 -07:00
audio-client
auto-updater check for update for dev-builds, handle semantic version 2018-06-08 17:20:57 -07:00
avatars CR 2018-06-20 16:13:10 -07:00
avatars-renderer Merge pull request #13392 from roxanneskelly/roxie-bugfixes 2018-06-25 10:42:43 -07:00
baking Update oven to only produce uncompressed ktx for cubemaps 2018-06-11 16:37:40 -07:00
controllers Remove some deprecated functions from the Controller API 2018-06-05 10:56:19 +12:00
display-plugins Add main thread id & machine fingerprint to crashpad annotations 2018-06-14 12:57:30 -07:00
embedded-webserver CR 2018-05-24 17:45:10 -07:00
entities Merge pull request #13409 from humbletim/add-raypick-shapeID 2018-06-26 10:25:39 -07:00
entities-renderer make requested changes 2018-06-26 11:53:45 -07:00
fbx Merge pull request #13205 from luiscuenca/GLTFfix1 2018-05-25 08:28:29 -07:00
gl Unit testing cached and uncached shader loading 2018-05-24 12:42:34 -07:00
gpu Merge branch 'master' into particleFix 2018-06-21 17:32:24 -07:00
gpu-gl Same fix as the point lighting flashing for rc69 in master 2018-06-22 14:59:37 -07:00
gpu-gl-common Same fix as the point lighting flashing for rc69 in master 2018-06-22 14:59:37 -07:00
gpu-gles Cached shader binaries and uniform data for shaders 2018-05-24 12:42:33 -07:00
graphics Merge branch 'master' into 21872-b 2018-05-17 20:11:14 +12:00
graphics-scripting Graphics API JSDoc stubs 2018-05-12 12:53:43 +12:00
image Merge pull request #13283 from huffman/feat/uncompressed-ktx-in-texmeta 2018-06-13 11:49:41 -07:00
input-plugins Android - Fix joystick and view control bug that makes it bounce 2018-05-31 16:02:41 -03:00
ktx Add uncompressed KTX files to baked texture output 2018-06-08 11:39:47 -07:00
midi Midi API JSDoc stubs 2018-05-12 15:01:52 +12:00
model-networking Merge remote-tracking branch 'upstream/master' into modelTextures 2018-06-13 11:53:31 -07:00
networking Merge branch 'master' into particleFix 2018-06-21 17:32:24 -07:00
octree remove unnecessary writes to appease Xcode's static analyzer 2018-06-15 11:44:22 -07:00
physics handle deactivation of avatar entities differently 2018-06-25 10:37:54 -07:00
plugins Merge pull request #13194 from SamGondelman/resolution 2018-05-18 15:23:01 -07:00
pointers Pointers API JSDoc fix up 2018-05-15 16:36:42 +12:00
procedural fix particle spread properties 2018-06-15 17:35:49 -07:00
qml more suppression of logging 2018-05-09 13:01:49 -07:00
recording remove unnecessary writes to appease Xcode's static analyzer 2018-06-15 11:44:22 -07:00
render add isGroupCulled for model overlays 2018-06-04 12:07:57 -07:00
render-utils Merge pull request #13468 from SamGondelman/secondaryShadows 2018-06-26 15:45:44 -07:00
script-engine Fix memory corruption via lambdas that capture local variables by reference. 2018-06-28 11:15:25 -07:00
shared Merge pull request #13409 from humbletim/add-raypick-shapeID 2018-06-26 10:25:39 -07:00
task Merge 'master' into 'workload' 2018-06-18 10:30:13 -07:00
test-utils Cached shader binaries and uniform data for shaders 2018-05-24 12:42:33 -07:00
trackers
ui protect against bad menu pointer 2018-06-15 14:49:46 -07:00
ui-plugins
workload remove cruft 2018-06-19 16:22:10 -07:00