From fc028c30a0570e097f4f16f9731c1433226e5367 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 10 Feb 2012 11:24:44 -0800 Subject: rt: Move the addition of the stack canary into create_stack --- src/rt/rust_task.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index b2b2753476a..a870035b027 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -593,7 +593,6 @@ rust_task::new_stack(size_t requested_sz) { size_t sz = rust_stk_sz + RED_ZONE_SIZE; stk_seg *new_stk = create_stack(this, sz); LOGPTR(thread, "new stk", (uintptr_t)new_stk); - add_stack_canary(new_stk); new_stk->prev = NULL; new_stk->next = stk; LOGPTR(thread, "stk end", new_stk->end); -- cgit 1.4.1-3-g733a5