MAXSTRINGSIZE is too small.
Status: Beta
Brought to you by:
mojavegreen
/usr/local/etc/portmanager/pm-020.conf
if you set a long long "OPTIONS" string on any
CATEGORY/PORT|OPTIONS| line, portmanager will CORE DUMP.
After some research, it's identified that
there are 2 src files need to be patched.
libMG/src/libMG.h
libMG/src/MGrStrlen.c
both refer to MAXSTRINGSIZE that should carry a bigger
value, i.e: 0xdff instead of the current 0x1ff which is
considered too small.
Email was sent to the author attention.
thanks
Ricky Y. Sun
libMG.h