Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPP-1813 - [VPP-1813] vpp crashed in adding mpls route. #1103

Open
vvalderrv opened this issue Jan 23, 2025 · 0 comments
Open

VPP-1813 - [VPP-1813] vpp crashed in adding mpls route. #1103

vvalderrv opened this issue Jan 23, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

when compiling in debug mode we have a crash in format()

in vlib/node.c:51 detects that input is clib mem heap object. but it is stack based string.

//called from:
   fib_table_entry_path_add2();
// ....
//called from:
  vlib_get_node_by_name("mpls-input")
 
//  vlib/node.c:51
  u8 *key = name;
  if (!clib_mem_is_heap_object (vec_header (key, 0)))
    key = format (0, "%s", key);      //<<---- crashed here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant