Attached is a patch that fixes a crash with musl.
Commit message:
"f_syntax: set regexec nmatch to 0.
this is correct according to POSIX with REG_NOSUB, but it doesn't make
much sense to set to > 0 when pmatch is NULL and will crash on musl"
I reported this to the musl project and a fix is commited:
http://git.musl-libc.org/cgit/musl/commit/?id=72ed3d47e567b1635a35d3c1d174c8a8b2787e30
Kind regards,
Hiltjo
Received on Fri Jul 18 2014 - 13:00:41 CEST