Michael
c6e7fc9744
Fix: Large stack allocation in compositor
...
When COM_EXPORT_GRAPHVIZ is enabled, DebugInfo::graphviz
uses a char[1000000] as local variable. When this function
is called this is allocated on the stack, which has a size
of just 1MB on mac and may cause a stack overflow.
This patch allocates the memory on the heap and frees
the memory at the end of the function.
Reviewed By: LazyDodo
Differential Revision: https://developer.blender.org/D13628
2021-12-22 13:49:52 -07:00
..
2021-07-22 18:51:51 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-07-22 18:05:55 +02:00
2021-10-13 23:41:14 +02:00
2021-03-29 08:18:33 +02:00
2021-05-14 17:35:08 +10:00
2021-03-29 08:18:33 +02:00
2021-12-19 17:57:51 -06:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-12-22 13:49:52 -07:00
2021-10-13 23:41:14 +02:00
2021-03-08 13:41:52 +01:00
2021-10-13 22:00:21 -03:00
2021-10-13 23:41:14 +02:00
2021-07-26 20:13:03 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-15 15:46:28 +01:00
2021-10-13 23:41:14 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-10-13 23:41:14 +02:00
2021-07-06 18:04:37 +02:00
2021-07-05 23:36:43 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-24 21:04:04 +11:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-12-09 20:01:49 +11:00
2021-12-09 20:01:49 +11:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 23:41:14 +02:00
2021-10-13 22:00:21 -03:00