Browse Source

test_libucontext: explain the stack poisoning part

William Pitcock 2 years ago
parent
commit
54a31e566d
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      test_libucontext.c

+ 1
- 0
test_libucontext.c View File

@@ -31,6 +31,7 @@ int main (int argc, const char *argv[]) {
31 31
 	char st2[8192];
32 32
 
33 33
 
34
+	/* poison each coroutine's stack memory for debugging purposes */
34 35
 	memset(st1, 'A', sizeof st1);
35 36
 	memset(st2, 'B', sizeof st2);
36 37