Commit 04ab2a4
committed
Use some disposable heap arrays instead of stack.
Using a 512K buffer in this test may mean that the test process may hit
the stack size rlimit quickly and segfault. Instead of trying to reduce
the buffer sizes and then subsequently try and unwind other weird
behavior in this test, just use heap-allocated buffers. We don't actually
seem to care about the contents in this test, so we can just throw them
away immediately after we read into them.1 parent f0f7799 commit 04ab2a4
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
132 | | - | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
134 | 137 | | |
135 | | - | |
| 138 | + | |
136 | 139 | | |
137 | | - | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
0 commit comments