Commit 9ba29bb
committed
contest: crash: don't overlap crashes
We include previous 5 lines in the crash to capture all of the intro
lines to the warning / splat. Tianyi reports that for short errors
like refleak this leads to previous stack trace leaking into the new one.
Reset the "previous lines" to make sure this doesn't happen.
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 9efdb98 commit 9ba29bb
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
| |||
0 commit comments