I think the solution is to limit the number of includes to a value of 10 instead infinity.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287037
Differential D51412
man(1): avoid endless loop in .so includes wosch on Jul 18 2025, 2:47 PM. Authored by Tags None Referenced Files
Details
I think the solution is to limit the number of includes to a value of 10 instead infinity. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287037
Diff Detail
Event TimelineComment Actions I checked the ports manual pages. The highest number of includes is 8. On Linux the zshall.1 has 15 includes. I will increase the limit to 32. Comment Actions Increase .so include limit to 32, and display a warning if we reach the limit in debug mode. |