File: 12_increase_task_stack.patch

package info (click to toggle)
wvstreams 4.6.1-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,420 kB
  • sloc: cpp: 64,196; ansic: 4,154; sh: 4,025; makefile: 546; perl: 402
file content (15 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.