Skip to content
Commit ddf0237d authored by Zhang HuiJie's avatar Zhang HuiJie Committed by Milian Wolff
Browse files

Set maximum number of recursive calls for getMemberFunctions to 50.

In some special cases of the curiously recurring template pattern [1],
in my code (OpenFOAM-2.3.x), the C++ plugin will get into an endless
loop and break down finally. This patch prevents it by adding a max
recursion depth of 50 to getMemberFunctions.

[1]: https://en.wikipedia.org/wiki/Curiously_recurring_template_pattern,

REVIEW: 124712
BUG: 351188
parent 14eaee85
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment