You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat core: make sure that labels are not used with integers, leading to memory corruption
Before this patch a code like `writer["metric"].ValueWithLabels(value, {{"label_name2", 2}, {"label_name3", "value3"}});` was attempting to create a `LabelView{std::string_view{"label_name2", 2}, std::string_view{"label_name3", "value3"}}`. The second string_view constructor was corrupting memory as it treated "label_name3" and "value3" as two iterators.
Tests: протестировано локально
commit_hash:e16d3d45a6d3f768611762a4b2fca596aba8d6c8
0 commit comments