Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
de3acfa
)
vlib: fix typo in ASAN fiber switching
12/43912/2
author
Vladimir Zhigulin
<
[email protected]
>
Mon, 20 Oct 2025 12:58:26 +0000
(14:58 +0200)
committer
Damjan Marion
<
[email protected]
>
Thu, 23 Oct 2025 09:07:47 +0000
(09:07 +0000)
Fixes ASAN error
"finishing a fiber switch that has not started"
Type: fix
Change-Id: I2f3153fb6635ebcad17942ae95889027c40c2525
Signed-off-by: Vladimir Zhigulin <
[email protected]
>
src/vlib/node_funcs.h
patch
|
blob
|
history
diff --git
a/src/vlib/node_funcs.h
b/src/vlib/node_funcs.h
index
a509691
..
2e5d9ef
100644
(file)
--- a/
src/vlib/node_funcs.h
+++ b/
src/vlib/node_funcs.h
@@
-71,8
+71,9
@@
vlib_process_finish_switch_stack (vlib_main_t * vm)
const void *bottom_old;
size_t size_old;
- __sanitizer_finish_switch_fiber (
&
vm->asan_stack_save, &bottom_old,
+ __sanitizer_finish_switch_fiber (vm->asan_stack_save, &bottom_old,
&size_old);
+ vm->asan_stack_save = NULL;
#endif
}