diff options
Diffstat (limited to 'libraries/wvstreams/patches/12_increase_task_stack.patch')
-rw-r--r-- | libraries/wvstreams/patches/12_increase_task_stack.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/wvstreams/patches/12_increase_task_stack.patch b/libraries/wvstreams/patches/12_increase_task_stack.patch new file mode 100644 index 0000000000..e8d7d5d52c --- /dev/null +++ b/libraries/wvstreams/patches/12_increase_task_stack.patch @@ -0,0 +1,15 @@ +Description: Increase the task stack to work around stack corruption +Author: Karol Ossowski <karol.ossowski@gmail.com> +Bug-Debian: https://bugs.debian.org/863039 + +--- wvstreams-4.6.1.orig/utils/wvtask.cc ++++ wvstreams-4.6.1/utils/wvtask.cc +@@ -429,7 +429,7 @@ void WvTaskMan::_stackmaster() + total = (val+1) * (size_t)1024; + + if (!use_shared_stack()) +- total = 1024; // enough to save the do_task stack frame ++ total = 2048; // enough to save the do_task stack frame + + // set up a stack frame for the new task. This runs once + // per get_stack. |