BR: isAChildOf can blow up the stack

On windows:

juce::File degenerate ("C:foo");
degenerate.isAChildOf (juce::File ("C:\\"));

Kablooie

It should just return false.

Thank you for reporting.

2 Likes

there are more vulnerabilities and footguns in File you should probably address