proxy-wasm-cpp-host icon indicating copy to clipboard operation
proxy-wasm-cpp-host copied to clipboard

Short pairs cause mis-aligned pointer error

Open kyessenov opened this issue 5 years ago • 0 comments

The root cause of Asan violation https://github.com/envoyproxy/envoy-wasm/pull/638 appears to be that libc++ inlines string content <24 characters long. This causes mis-aligned pointer dereference since marshalPairs expects a heap allocated string data array.

kyessenov avatar Sep 14 '20 20:09 kyessenov