rust-lang/regex

valgrind reports "Conditional jump or move depends on uninitialised value(s)"

radkum opened this issue · 2 comments

radkum commented

Hello guys,
When running a simple single line program I get a valgrind error:

let _ = Regex::new(r"(\}\})|\{(\{|[^{}}]+\})");

screenshot-4

I saw very similar issue here, but I'm not sure it's the same case: #274

Can you look at it?

Crate version: Latest (1.10.5)

I don't see anything suspicious there. As mentioned in #274, valgrind is known for giving false positives in Rust programs. That doesn't mean it's always wrong, but please do more investigation first. Consider, for example, that the regex crate is tested with Miri.

Also, please provide textual reproductions in the future. When you provide a screenshot, you're asking others to re-type everything shown in the image.......